diff options
author | 2017-08-25 14:10:30 -0700 | |
---|---|---|
committer | 2017-08-25 15:17:45 -0700 | |
commit | 4a11ecc076ad376833171e5f40105dc8e4320acd (patch) | |
tree | 2326f22a2d58edfc2acdb97771838b95e017bf2b /test/cpp/end2end | |
parent | 6514a0df72d9425ae5058eab6dd120179b2105d1 (diff) |
Add ChannelConnectivityWatcher::Ref()/Unref()
Diffstat (limited to 'test/cpp/end2end')
-rw-r--r-- | test/cpp/end2end/async_end2end_test.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/cpp/end2end/async_end2end_test.cc b/test/cpp/end2end/async_end2end_test.cc index 1d1e97a820..68b9507789 100644 --- a/test/cpp/end2end/async_end2end_test.cc +++ b/test/cpp/end2end/async_end2end_test.cc @@ -378,6 +378,10 @@ TEST_P(AsyncEnd2endTest, ReconnectChannel) { while (cq_->Next(&ignored_tag, &ignored_ok)) ; BuildAndStartServer(); + // 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(510, GPR_TIMESPAN))); SendRpc(1); } |