File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ CORE_END2END_TEST(Http2FullstackSingleHopTest, StreamStats) {
199199 g_mu = new Mutex ();
200200 g_client_call_ended_notify = new CoreEnd2endTest::TestNotification (this );
201201 g_server_call_ended_notify = new CoreEnd2endTest::TestNotification (this );
202+ GlobalStatsPluginRegistryTestPeer::ResetGlobalStatsPluginRegistry ();
202203 GlobalStatsPluginRegistry::RegisterStatsPlugin (
203204 std::make_shared<NewFakeStatsPlugin>());
204205 auto send_from_client = RandomSlice (10 );
@@ -265,8 +266,6 @@ CORE_END2END_TEST(Http2FullstackSingleHopTest, StreamStats) {
265266 EXPECT_GE (server_transport_stats.incoming .framing_bytes , 32 );
266267 EXPECT_LE (server_transport_stats.incoming .framing_bytes , 58 );
267268
268- delete ServerCallTracerFactory::Get (ChannelArgs ());
269- ServerCallTracerFactory::RegisterGlobal (nullptr );
270269 delete g_client_call_ended_notify;
271270 g_client_call_ended_notify = nullptr ;
272271 delete g_server_call_ended_notify;
You can’t perform that action at this time.
0 commit comments