aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/iomgr/endpoint_pair_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/iomgr/endpoint_pair_test.cc')
-rw-r--r--test/core/iomgr/endpoint_pair_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/iomgr/endpoint_pair_test.cc b/test/core/iomgr/endpoint_pair_test.cc
index ad38076b51..3ddbe7f2fc 100644
--- a/test/core/iomgr/endpoint_pair_test.cc
+++ b/test/core/iomgr/endpoint_pair_test.cc
@@ -60,7 +60,7 @@ static void destroy_pollset(void* p, grpc_error* error) {
int main(int argc, char** argv) {
grpc_closure destroyed;
- grpc_test_init(argc, argv);
+ grpc::testing::TestEnvironment env(argc, argv);
grpc_init();
{
grpc_core::ExecCtx exec_ctx;