-
Notifications
You must be signed in to change notification settings - Fork 26
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
RTN17с as a part of 0.9 #504
Conversation
I was not aware that RTN17c changed. Are you sure there are not already existing tests for this? |
Yes, 0.9 has a difference from 0.8:
Ok,
That's why I added test for custom fallback hosts. |
Ok, fine, but it does feel like we're perhaps testing all the permutations when in reality testing if custom fallback hosts are used does not need to be tested with every other permutation of ClientOptions because we should be reasonably confident that the logic to inject custom fallback hosts is in one place and thus applies globally. |
@mattheworiordan please let me try to describe what I think on this... Current PR is based on Well, here I'm trying to cover 2 cases with my tests:
So in my understanding this PR has at least 2 reasons to live, but I could be wrong. I guess you want me to combine current logic and tests with |
Fine, but this seems overkill when really we should know that setting the fallback host options simply updated the defaults used by the client library and does not result in an entirely new codepath. Whether the default fallback hosts or custom fallback hosts are used, it should not affect anything other than which hosts are used.
Ok, fine, that makes sense, a quick test for that is good.
Perhaps, but I would argue the first point is overkill. Leave it and merge if existing already though, no need to do more work if it adds test coverage. |
@EvgenyKarkan I've changed the base of the pull request to master. Please do that going forward. |
aa8ccbc
to
fcffd24
Compare
Rebased and tests are passing. |
Please review and merge if everything looks good.