grpclb_e2e_test: increase timeout in InitiallyEmptyServerlist test (#30726)

pull/30732/head
Mark D. Roth 2 years ago committed by GitHub
parent ee900c0e39
commit dc1cb1fb59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/cpp/end2end/grpclb_end2end_test.cc

@ -983,7 +983,7 @@ TEST_F(SingleBalancerTest, SecureNamingDeathTest) {
TEST_F(SingleBalancerTest, InitiallyEmptyServerlist) { TEST_F(SingleBalancerTest, InitiallyEmptyServerlist) {
SetNextResolutionAllBalancers(); SetNextResolutionAllBalancers();
const int kServerlistDelayMs = 500 * grpc_test_slowdown_factor(); const int kServerlistDelayMs = 500 * grpc_test_slowdown_factor();
const int kCallDeadlineMs = kServerlistDelayMs * 2; const int kCallDeadlineMs = kServerlistDelayMs * 10;
// First response is an empty serverlist, sent right away. // First response is an empty serverlist, sent right away.
ScheduleResponseForBalancer(0, LoadBalanceResponse(), 0); ScheduleResponseForBalancer(0, LoadBalanceResponse(), 0);
// Send non-empty serverlist only after kServerlistDelayMs // Send non-empty serverlist only after kServerlistDelayMs

Loading…
Cancel
Save