aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/surface/server_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/surface/server_test.cc')
-rw-r--r--test/core/surface/server_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/surface/server_test.cc b/test/core/surface/server_test.cc
index b4eabd8d4d..2fc166546b 100644
--- a/test/core/surface/server_test.cc
+++ b/test/core/surface/server_test.cc
@@ -148,7 +148,7 @@ static void test_bind_server_to_addrs(const char** addrs, size_t n) {
}
int main(int argc, char** argv) {
- grpc_test_init(argc, argv);
+ grpc::testing::TestEnvironment env(argc, argv);
grpc_init();
test_register_method_fail();
test_request_call_on_no_server_cq();