diff options
author | Yuchen Zeng <zyc@google.com> | 2017-10-31 19:54:38 -0700 |
---|---|---|
committer | Yuchen Zeng <zyc@google.com> | 2017-10-31 19:54:38 -0700 |
commit | 452b987a0d5eeabd256ae4f537561e9889b94c09 (patch) | |
tree | 533b97fb8aa3c74c9fe1f0d73320c267a4046251 /test | |
parent | 5fa58d5dbef2d24753305a05488f6e9db5fc904a (diff) |
Set GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS for async_end2end_test
Diffstat (limited to 'test')
-rw-r--r-- | test/cpp/end2end/async_end2end_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/end2end/async_end2end_test.cc b/test/cpp/end2end/async_end2end_test.cc index af3bdb25ac..ddb0ba9b66 100644 --- a/test/cpp/end2end/async_end2end_test.cc +++ b/test/cpp/end2end/async_end2end_test.cc @@ -461,7 +461,6 @@ TEST_P(AsyncEnd2endTest, ReconnectChannel) { if (GetParam().inproc) { return; } - gpr_setenv("GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS", "200"); int poller_slowdown_factor = 1; // It needs 2 pollset_works to reconnect the channel with polling engine // "poll" @@ -2013,6 +2012,7 @@ INSTANTIATE_TEST_CASE_P(AsyncEnd2endServerTryCancel, } // namespace grpc int main(int argc, char** argv) { + gpr_setenv("GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS", "200"); grpc_test_init(argc, argv); gpr_tls_init(&g_is_async_end2end_test); ::testing::InitGoogleTest(&argc, argv); |