aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/gpr/alloc_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/gpr/alloc_test.cc')
-rw-r--r--test/core/gpr/alloc_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/gpr/alloc_test.cc b/test/core/gpr/alloc_test.cc
index 36cdc02ff2..0b110e2b77 100644
--- a/test/core/gpr/alloc_test.cc
+++ b/test/core/gpr/alloc_test.cc
@@ -64,7 +64,7 @@ static void test_malloc_aligned() {
}
int main(int argc, char** argv) {
- grpc_test_init(argc, argv);
+ grpc::testing::TestEnvironment env(argc, argv);
test_custom_allocs();
test_malloc_aligned();
return 0;