Skip to content

Commit

Permalink
[MetricsTest] Reduce test logging
Browse files Browse the repository at this point in the history
  • Loading branch information
yashykt committed Jan 27, 2025
1 parent 20c6e27 commit 137f850
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions test/core/telemetry/metrics_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
2 changes: 0 additions & 2 deletions test/core/test_util/fake_stats_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 137f850

Please sign in to comment.