Skip to content

Commit

Permalink
[metrics] Fix test flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
yashykt committed Nov 15, 2024
1 parent e352e89 commit ce96407
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/core/telemetry/metrics_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,7 @@ TEST_F(MetricsTest, ParallelStatsPluginRegistrationAndLookup) {
while (GlobalStatsPluginRegistry::GetStatsPluginsForChannel(
StatsPluginChannelScope("", "", endpoint_config_))
.size() < 10000) {
std::this_thread::yield();
};
});
}
Expand Down

0 comments on commit ce96407

Please sign in to comment.