forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fuzz: fix least request LB maximal active_request_bias value (envoypr…
…oxy#33245) * fuzz: fix least request LB maximal active_request_bias value The default_value of the active_request_bias config field can be high, which will end up setting the weight value in this line (1.0 / 2^active_request_bias) to essentially make all weights 0. This PR adds a check to avoid setting this value to more than 25 in the fuzz tests. Signed-off-by: Adi Suissa-Peleg <adip@google.com>
- Loading branch information
Showing
2 changed files
with
35 additions
and
5 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
test/common/upstream/least_request_load_balancer_corpus/large_active_request_bias
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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