Index: chrome/browser/policy/cloud_policy_subsystem_unittest.cc |
diff --git a/chrome/browser/policy/cloud_policy_subsystem_unittest.cc b/chrome/browser/policy/cloud_policy_subsystem_unittest.cc |
index ed9ad2b5be65370d713685343666cd4b018489c3..0dfc4753e4f742e4d935e4cb8a15b13ebe344e13 100644 |
--- a/chrome/browser/policy/cloud_policy_subsystem_unittest.cc |
+++ b/chrome/browser/policy/cloud_policy_subsystem_unittest.cc |
@@ -162,7 +162,7 @@ class CloudPolicySubsystemTestBase : public testing::Test { |
data_store_->set_user_name(kUsername); |
data_store_->SetGaiaToken(kAuthToken); |
data_store_->SetDeviceToken("", true); |
- loop_.RunAllPending(); |
+ loop_.RunUntilIdle(); |
} |
void VerifyTest(const std::string& homepage_location) { |