aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreecha@users.noreply.github.com>2018-01-26 13:39:31 -0800
committerGravatar GitHub <noreply@github.com>2018-01-26 13:39:31 -0800
commit79c1465276b576f58f31e770db6b380e02a9e0f0 (patch)
treea52a8de3d5698174d476d6fb9b2c863d5327cd51 /test
parent16316a9fec3a78baf83d96dbdb392e90226bb013 (diff)
parentde5f6bfe927d8e7fecb5db7018d130c44a59a576 (diff)
Merge pull request #14192 from sreecha/e2e_test
Set GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS at the beginning of the test.
Diffstat (limited to 'test')
-rw-r--r--test/cpp/end2end/end2end_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/end2end/end2end_test.cc b/test/cpp/end2end/end2end_test.cc
index 28887f8128..2edd10898c 100644
--- a/test/cpp/end2end/end2end_test.cc
+++ b/test/cpp/end2end/end2end_test.cc
@@ -706,7 +706,6 @@ TEST_P(End2endTest, 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"
@@ -1828,6 +1827,7 @@ INSTANTIATE_TEST_CASE_P(ResourceQuotaEnd2end, ResourceQuotaEnd2endTest,
} // namespace grpc
int main(int argc, char** argv) {
+ gpr_setenv("GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS", "200");
grpc_test_init(argc, argv);
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();