diff options
author | Yuchen Zeng <y-zeng@users.noreply.github.com> | 2017-11-03 15:47:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-03 15:47:21 -0700 |
commit | 9ec467343dcbfa6d7ea4e0c51683943d21f5e196 (patch) | |
tree | e24ccb568995e84f7cf132608c2959247b47457e /test | |
parent | 8cbb89a722ac87824a56ad77e3e05f72891d257c (diff) | |
parent | 89f86c08e20afb830807d7a2930c7374fbdf6aee (diff) |
Merge pull request #13232 from y-zeng/connectivity_watcher
Lower backup poll interval in async_end2end_test
Diffstat (limited to 'test')
-rw-r--r-- | test/cpp/end2end/async_end2end_test.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/cpp/end2end/async_end2end_test.cc b/test/cpp/end2end/async_end2end_test.cc index cf1cc7e486..5b6e9aa312 100644 --- a/test/cpp/end2end/async_end2end_test.cc +++ b/test/cpp/end2end/async_end2end_test.cc @@ -458,6 +458,7 @@ TEST_P(AsyncEnd2endTest, SequentialRpcs) { } TEST_P(AsyncEnd2endTest, ReconnectChannel) { + // GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS is set to 100ms in main() if (GetParam().inproc) { return; } @@ -2012,9 +2013,9 @@ INSTANTIATE_TEST_CASE_P(AsyncEnd2endServerTryCancel, } // namespace grpc int main(int argc, char** argv) { - // Change the backup poll interval from 5s to 200ms to speed up the + // Change the backup poll interval from 5s to 100ms to speed up the // ReconnectChannel test - gpr_setenv("GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS", "200"); + gpr_setenv("GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS", "100"); grpc_test_init(argc, argv); gpr_tls_init(&g_is_async_end2end_test); ::testing::InitGoogleTest(&argc, argv); |