aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/compression/message_compress_test.cc
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2018-11-30 16:48:18 -0800
committerGravatar GitHub <noreply@github.com>2018-11-30 16:48:18 -0800
commit09add58ecaec113c652cb2ad6283b51c0bfb4948 (patch)
treeba330541e24f8ab450f503b15c2055ea84427997 /test/core/compression/message_compress_test.cc
parentcdea58eb9a06240062793198739f5278d7193c3a (diff)
parent19b3ca5689b9477235fe93d913ca9f9a6d54de3d (diff)
Merge pull request #17359 from yang-g/test_env
Create a class for test environment and migrate most of the tests to use it.
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++) {