test: Add a LB simulation test to validate selection probabilities#30818
Merged
adisuissa merged 6 commits intoenvoyproxy:mainfrom Dec 14, 2023
Merged
test: Add a LB simulation test to validate selection probabilities#30818adisuissa merged 6 commits intoenvoyproxy:mainfrom
adisuissa merged 6 commits intoenvoyproxy:mainfrom
Conversation
…citly forleast request lb (envoyproxy#30794)" This reverts commit e93e556. Revert "Fix least request lb not fair (envoyproxy#29873)" This reverts commit 3ea2bc4. restore api Signed-off-by: Kuat Yessenov <kuat@google.com> fix merge Signed-off-by: Kuat Yessenov <kuat@google.com>
Signed-off-by: Tony Allen <tony@allen.gg>
|
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
Signed-off-by: Tony Allen <tony@allen.gg>
Member
Author
|
@adisuissa @wbpcode this PR should now be ready for a first pass. |
adisuissa
reviewed
Dec 11, 2023
Contributor
adisuissa
left a comment
There was a problem hiding this comment.
Thanks!
Minor comments, but otherwise LGTM!
Comment on lines
+162
to
+166
| - area: upstream | ||
| change: | | ||
| Added support to use http async client to fetch the credentials from EC2 instance metadata and ECS task metadata providers | ||
| instead of libcurl which is deprecated. By default this behavior is disabled. To enable set | ||
| ``envoy.reloadable_features.use_http_client_to_fetch_aws_credentials`` to true. |
Contributor
There was a problem hiding this comment.
Doesn't seem related to the current PR, should probably be reverted.
Contributor
|
/retest |
This file contains hidden or 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
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.
Adds a LB simulation test to ensure that any subtle behavioral changes to the Least Request LB will cause a test failure. The test verifies the selection probabilities are as expected in various contexts.
The intent of this test is not to ossify the behavior of the LB, but to flag any potential unintended behavioral changes.
This test was run 10,000 times (using remote executors) to check for flakiness and there was not any observed failure: