aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/surface/server_chttp2_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/surface/server_chttp2_test.cc')
-rw-r--r--test/core/surface/server_chttp2_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/surface/server_chttp2_test.cc b/test/core/surface/server_chttp2_test.cc
index fd8ab9cd3d..ffb7f14f98 100644
--- a/test/core/surface/server_chttp2_test.cc
+++ b/test/core/surface/server_chttp2_test.cc
@@ -67,7 +67,7 @@ void test_add_same_port_twice() {
#endif
int main(int argc, char** argv) {
- grpc_test_init(argc, argv);
+ grpc::testing::TestEnvironment env(argc, argv);
grpc_init();
test_unparsable_target();
#ifndef GRPC_UV