|
|
@ -3277,7 +3277,7 @@ TEST_F(WeightedRoundRobinTest, CallAndServerMetric) { |
|
|
|
// all of its subchannels every time it saw an update, thus causing the
|
|
|
|
// all of its subchannels every time it saw an update, thus causing the
|
|
|
|
// WRR policy to re-enter the blackout period for that address.
|
|
|
|
// WRR policy to re-enter the blackout period for that address.
|
|
|
|
TEST_F(WeightedRoundRobinTest, WithOutlierDetection) { |
|
|
|
TEST_F(WeightedRoundRobinTest, WithOutlierDetection) { |
|
|
|
const int kBlackoutPeriodSeconds = 5; |
|
|
|
const int kBlackoutPeriodSeconds = 10; |
|
|
|
const int kNumServers = 3; |
|
|
|
const int kNumServers = 3; |
|
|
|
StartServers(kNumServers); |
|
|
|
StartServers(kNumServers); |
|
|
|
// Report server metrics that should give 6:4:3 WRR picks.
|
|
|
|
// Report server metrics that should give 6:4:3 WRR picks.
|
|
|
|