aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/compression/message_compress_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/compression/message_compress_test.cc')
-rw-r--r--test/core/compression/message_compress_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/compression/message_compress_test.cc b/test/core/compression/message_compress_test.cc
index e3fe825fdf..e2abf2d321 100644
--- a/test/core/compression/message_compress_test.cc
+++ b/test/core/compression/message_compress_test.cc
@@ -292,7 +292,7 @@ int main(int argc, char** argv) {
GRPC_SLICE_SPLIT_IDENTITY,
GRPC_SLICE_SPLIT_ONE_BYTE};
- grpc_test_init(argc, argv);
+ grpc::testing::TestEnvironment env(argc, argv);
grpc_init();
for (i = 0; i < GRPC_MESSAGE_COMPRESS_ALGORITHMS_COUNT; i++) {