diff --git a/test/core/telemetry/metrics_test.cc b/test/core/telemetry/metrics_test.cc index 93d998da4c137..91189eda087e5 100644 --- a/test/core/telemetry/metrics_test.cc +++ b/test/core/telemetry/metrics_test.cc @@ -706,6 +706,8 @@ TEST_F(MetricsDeathTest, RegisterTheSameMetricNameWouldCrash) { int main(int argc, char** argv) { grpc::testing::TestEnvironment env(&argc, argv); ::testing::InitGoogleTest(&argc, argv); + grpc_core::GlobalInstrumentsRegistryTestPeer:: + ResetGlobalInstrumentsRegistry(); int ret = RUN_ALL_TESTS(); return ret; } diff --git a/test/core/test_util/fake_stats_plugin.h b/test/core/test_util/fake_stats_plugin.h index 8e64c57f49160..c8c3fe0912b22 100644 --- a/test/core/test_util/fake_stats_plugin.h +++ b/test/core/test_util/fake_stats_plugin.h @@ -224,8 +224,6 @@ class FakeStatsPlugin : public StatsPlugin { descriptor) { if (!use_disabled_by_default_metrics && !descriptor.enable_by_default) { - VLOG(2) << "FakeStatsPlugin[" << this - << "]: skipping disabled metric: " << descriptor.name; return; } switch (descriptor.instrument_type) {