aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/transport/bdp_estimator_test.cc
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2018-11-30 16:48:18 -0800
committerGravatar GitHub <noreply@github.com>2018-11-30 16:48:18 -0800
commit09add58ecaec113c652cb2ad6283b51c0bfb4948 (patch)
treeba330541e24f8ab450f503b15c2055ea84427997 /test/core/transport/bdp_estimator_test.cc
parentcdea58eb9a06240062793198739f5278d7193c3a (diff)
parent19b3ca5689b9477235fe93d913ca9f9a6d54de3d (diff)
Merge pull request #17359 from yang-g/test_env
Create a class for test environment and migrate most of the tests to use it.
Diffstat (limited to 'test/core/transport/bdp_estimator_test.cc')
-rw-r--r--test/core/transport/bdp_estimator_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/transport/bdp_estimator_test.cc b/test/core/transport/bdp_estimator_test.cc
index c7e6b2bd84..a795daaead 100644
--- a/test/core/transport/bdp_estimator_test.cc
+++ b/test/core/transport/bdp_estimator_test.cc
@@ -139,7 +139,7 @@ INSTANTIATE_TEST_CASE_P(TooManyNames, BdpEstimatorRandomTest,
} // namespace grpc_core
int main(int argc, char** argv) {
- grpc_test_init(argc, argv);
+ grpc::testing::TestEnvironment env(argc, argv);
gpr_now_impl = grpc_core::testing::fake_gpr_now;
grpc_init();
grpc_timer_manager_set_threading(false);