aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/ext/filters/census/stats_plugin_end2end_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/cpp/ext/filters/census/stats_plugin_end2end_test.cc')
-rw-r--r--test/cpp/ext/filters/census/stats_plugin_end2end_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/ext/filters/census/stats_plugin_end2end_test.cc b/test/cpp/ext/filters/census/stats_plugin_end2end_test.cc
index 664504a090..7339402830 100644
--- a/test/cpp/ext/filters/census/stats_plugin_end2end_test.cc
+++ b/test/cpp/ext/filters/census/stats_plugin_end2end_test.cc
@@ -370,7 +370,7 @@ TEST_F(StatsPluginEnd2EndTest, RequestReceivedMessagesPerRpc) {
} // 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();
}