Increase the grace period in ReconnectChannel tests

pull/12080/head
Yuchen Zeng 7 years ago
parent 26b0a34fbe
commit b5dd3abad9
  1. 2
      test/cpp/end2end/async_end2end_test.cc
  2. 2
      test/cpp/end2end/end2end_test.cc

@ -381,7 +381,7 @@ TEST_P(AsyncEnd2endTest, ReconnectChannel) {
// It needs more than kConnectivityCheckIntervalMsec time to reconnect the
// channel.
gpr_sleep_until(gpr_time_add(gpr_now(GPR_CLOCK_REALTIME),
gpr_time_from_millis(1100, GPR_TIMESPAN)));
gpr_time_from_millis(1600, GPR_TIMESPAN)));
SendRpc(1);
}

@ -707,7 +707,7 @@ TEST_P(End2endTest, ReconnectChannel) {
// It needs more than kConnectivityCheckIntervalMsec time to reconnect the
// channel.
gpr_sleep_until(gpr_time_add(gpr_now(GPR_CLOCK_REALTIME),
gpr_time_from_millis(1100, GPR_TIMESPAN)));
gpr_time_from_millis(1600, GPR_TIMESPAN)));
SendRpc(stub_.get(), 1, false);
}

Loading…
Cancel
Save