Commit 2c9f3ce6 authored by dbeam's avatar dbeam Committed by Commit bot

MD Settings: fix metrics reporting unittests on official testers -- take 2

R=dschuyler@chromium.org
BUG=637068

Review-Url: https://codereview.chromium.org/2265553003
Cr-Commit-Position: refs/heads/master@{#414270}
parent d7997ead
...@@ -61,7 +61,12 @@ class MetricsReportingHandlerTest : public testing::Test { ...@@ -61,7 +61,12 @@ class MetricsReportingHandlerTest : public testing::Test {
} }
void TearDown() override { void TearDown() override {
// For crbug.com/637068 which only run on official bots with no try jobs.
base::RunLoop().RunUntilIdle();
handler_.reset(); handler_.reset();
base::RunLoop().RunUntilIdle();
local_state_.reset();
base::RunLoop().RunUntilIdle();
} }
PrefService* local_state() { return local_state_->Get(); } PrefService* local_state() { return local_state_->Get(); }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment