Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: option to fail eagerly with Error::NoHosts #36

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

kezhuw
Copy link
Owner

@kezhuw kezhuw commented Mar 29, 2024

Closes #34.

Copy link

codecov bot commented Mar 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.89%. Comparing base (58f8fb4) to head (b491b2c).

❗ Current head b491b2c differs from pull request most recent head beb1684. Consider uploading reports for the commit beb1684 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
- Coverage   86.39%   84.89%   -1.51%     
==========================================
  Files          34       34              
  Lines        4764     4773       +9     
==========================================
- Hits         4116     4052      -64     
- Misses        648      721      +73     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This reverses the default behavior and give us chance to not fail with
Error::NoHosts.

This commit also refactors test_readonly a bit with help from above.

Closes #34.
@kezhuw kezhuw force-pushed the option_fail_eaglerly_with_nohosts branch from b491b2c to beb1684 Compare March 29, 2024 15:17
@kezhuw kezhuw merged commit e206b9f into master Mar 29, 2024
12 checks passed
@kezhuw kezhuw deleted the option_fail_eaglerly_with_nohosts branch March 29, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to turn on/off eager failure in connecting
1 participant