aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/slice/slice_weak_hash_table_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/slice/slice_weak_hash_table_test.cc')
-rw-r--r--test/core/slice/slice_weak_hash_table_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/slice/slice_weak_hash_table_test.cc b/test/core/slice/slice_weak_hash_table_test.cc
index b0a243d572..ab0a648727 100644
--- a/test/core/slice/slice_weak_hash_table_test.cc
+++ b/test/core/slice/slice_weak_hash_table_test.cc
@@ -98,7 +98,7 @@ TEST(SliceWeakHashTable, ForceOverload) {
int main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv);
- grpc_test_init(argc, argv);
+ grpc::testing::TestEnvironment env(argc, argv);
grpc_core::ExecCtx::GlobalInit();
int result = RUN_ALL_TESTS();
grpc_core::ExecCtx::GlobalShutdown();