aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/end2end/exception_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/cpp/end2end/exception_test.cc')
-rw-r--r--test/cpp/end2end/exception_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/end2end/exception_test.cc b/test/cpp/end2end/exception_test.cc
index 5343997663..0d2c00263b 100644
--- a/test/cpp/end2end/exception_test.cc
+++ b/test/cpp/end2end/exception_test.cc
@@ -117,7 +117,7 @@ TEST_F(ExceptionTest, RequestStream) {
} // namespace grpc
int main(int argc, char** argv) {
- grpc_test_init(argc, argv);
+ grpc::testing::TestEnvironment env(argc, argv);
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}