aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/common/alarm_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/cpp/common/alarm_test.cc')
-rw-r--r--test/cpp/common/alarm_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/common/alarm_test.cc b/test/cpp/common/alarm_test.cc
index e909d03658..802cdc209a 100644
--- a/test/cpp/common/alarm_test.cc
+++ b/test/cpp/common/alarm_test.cc
@@ -313,7 +313,7 @@ TEST(AlarmTest, UnsetDestruction) {
} // 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();
}