aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/slice/slice_hash_table_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/slice/slice_hash_table_test.cc')
-rw-r--r--test/core/slice/slice_hash_table_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/slice/slice_hash_table_test.cc b/test/core/slice/slice_hash_table_test.cc
index 43ddfe9bf2..08cfe91e5a 100644
--- a/test/core/slice/slice_hash_table_test.cc
+++ b/test/core/slice/slice_hash_table_test.cc
@@ -217,7 +217,7 @@ TEST(SliceHashTable, CmpEmptyKeysDifferentValue) {
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();