diff options
author | Yuchen Zeng <zyc@google.com> | 2017-09-06 11:33:22 -0700 |
---|---|---|
committer | Yuchen Zeng <zyc@google.com> | 2017-09-06 11:33:22 -0700 |
commit | b5dd3abad9b38cbd39917543b3991acd6ec368a8 (patch) | |
tree | 5cb4ba9132b01e6ee579efccfd5948029a3504b8 /test/cpp | |
parent | 26b0a34fbef7ab43870f51a1971ea4578e211ac3 (diff) |
Increase the grace period in ReconnectChannel tests
Diffstat (limited to 'test/cpp')
-rw-r--r-- | test/cpp/end2end/async_end2end_test.cc | 2 | ||||
-rw-r--r-- | test/cpp/end2end/end2end_test.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/end2end/async_end2end_test.cc b/test/cpp/end2end/async_end2end_test.cc index 98e00ebb1f..e841a702d4 100644 --- a/test/cpp/end2end/async_end2end_test.cc +++ b/test/cpp/end2end/async_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); } diff --git a/test/cpp/end2end/end2end_test.cc b/test/cpp/end2end/end2end_test.cc index 364019b325..1f4861a7e6 100644 --- a/test/cpp/end2end/end2end_test.cc +++ b/test/cpp/end2end/end2end_test.cc @@ -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); } |