-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
xds: Add a test for incorrect load reporting when using pickfirst with servers in multiple localities #7357
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arjan-bal
changed the title
Add a failing test for load reporting when using pickfirst with servers in mulitple localities
xds: Add a failing test for load reporting when using pickfirst with servers in mulitple localities
Jun 26, 2024
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7357 +/- ##
==========================================
- Coverage 81.47% 81.32% -0.16%
==========================================
Files 348 348
Lines 26761 26755 -6
==========================================
- Hits 21804 21758 -46
- Misses 3772 3794 +22
- Partials 1185 1203 +18
|
arjan-bal
force-pushed
the
fix-locality-load-reporting
branch
from
June 26, 2024 19:57
33c0345
to
02fa7a4
Compare
easwars
requested changes
Jun 26, 2024
arjan-bal
force-pushed
the
fix-locality-load-reporting
branch
from
June 27, 2024 09:30
fea5c9e
to
503a123
Compare
arjan-bal
commented
Jun 27, 2024
arjan-bal
force-pushed
the
fix-locality-load-reporting
branch
from
June 27, 2024 10:41
471c9e3
to
b738469
Compare
arjan-bal
force-pushed
the
fix-locality-load-reporting
branch
from
June 27, 2024 10:43
b738469
to
c1bdd04
Compare
easwars
reviewed
Jun 27, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great now. Just some very minor nits.
arjan-bal
changed the title
xds: Add a failing test for load reporting when using pickfirst with servers in mulitple localities
xds: Add a test for incorrect load reporting when using pickfirst with servers in multiple localities
Jun 27, 2024
easwars
approved these changes
Jun 27, 2024
easwars
approved these changes
Jun 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR addressed the first task for #7339, adding a unit test that fails. The test presently asserts that the incorrect region received the load until the bug has been fixed:
The test asserts the following after sending 1 rpc:
Then we stop server 1, send another rpc and assert the following:
Issue: #7339
RELEASE NOTES: None