aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2017-11-01 11:34:15 -0700
committerGravatar Yuchen Zeng <zyc@google.com>2017-11-01 11:34:15 -0700
commit0d573083b9695f98ca592d12b17e17b79cb9a2c4 (patch)
treedc9ccc29086331d8bbfe3ea9d8c013c6cd8ab9e8 /test/cpp
parent452b987a0d5eeabd256ae4f537561e9889b94c09 (diff)
Add comments for setting the env variable
Diffstat (limited to 'test/cpp')
-rw-r--r--test/cpp/end2end/async_end2end_test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cpp/end2end/async_end2end_test.cc b/test/cpp/end2end/async_end2end_test.cc
index ddb0ba9b66..cf1cc7e486 100644
--- a/test/cpp/end2end/async_end2end_test.cc
+++ b/test/cpp/end2end/async_end2end_test.cc
@@ -2012,6 +2012,8 @@ 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
+ // ReconnectChannel test
gpr_setenv("GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS", "200");
grpc_test_init(argc, argv);
gpr_tls_init(&g_is_async_end2end_test);