aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2017-09-06 11:33:22 -0700
committerGravatar Yuchen Zeng <zyc@google.com>2017-09-06 11:33:22 -0700
commitb5dd3abad9b38cbd39917543b3991acd6ec368a8 (patch)
tree5cb4ba9132b01e6ee579efccfd5948029a3504b8 /test/cpp
parent26b0a34fbef7ab43870f51a1971ea4578e211ac3 (diff)
Increase the grace period in ReconnectChannel tests
Diffstat (limited to 'test/cpp')
-rw-r--r--test/cpp/end2end/async_end2end_test.cc2
-rw-r--r--test/cpp/end2end/end2end_test.cc2
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);
}