Skip to content

Commit

Permalink
internal: Increase metric router test wait time
Browse files Browse the repository at this point in the history
Bug: 369621792
Change-Id: I4775107f3befaedcfca316d41a55b3a6dfcc9990
GitOrigin-RevId: c9dff481313f34c43613d6f07b230cad053ce23d
  • Loading branch information
Privacy Sandbox Team authored and copybara-github committed Sep 26, 2024
1 parent 995fb44 commit f01559e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metric/metric_router_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class MetricRouterTest : public ::testing::Test {
}

std::string ReadSs() {
absl::SleepFor(absl::Milliseconds(kExportIntervalMillis * 2));
absl::SleepFor(absl::Milliseconds(kExportIntervalMillis * 5));
// Shut down metric reader now to avoid concurrent access of Ss.
{ auto not_used = std::move(test_instance_); }
std::string output = GetSs().str();
Expand Down

0 comments on commit f01559e

Please sign in to comment.