Index: chrome/browser/policy/logging_work_scheduler_unittest.cc |
diff --git a/chrome/browser/policy/logging_work_scheduler_unittest.cc b/chrome/browser/policy/logging_work_scheduler_unittest.cc |
index b2ca3b51e05f1895eb48dcce3b1d4258a555e93a..6e792b64a131ea12622fbc7048b79d4f183e8a1f 100644 |
--- a/chrome/browser/policy/logging_work_scheduler_unittest.cc |
+++ b/chrome/browser/policy/logging_work_scheduler_unittest.cc |
@@ -89,7 +89,7 @@ TEST_F(LoggingWorkSchedulerTest, LoggerTest) { |
Callback1(); |
Callback2(); |
- loop_.RunAllPending(); |
+ loop_.RunUntilIdle(); |
std::vector<int64> events; |
logger_->Swap(&events); |