Index: chrome/browser/chromeos/settings/session_manager_operation_unittest.cc |
diff --git a/chrome/browser/chromeos/settings/session_manager_operation_unittest.cc b/chrome/browser/chromeos/settings/session_manager_operation_unittest.cc |
index 9d35c52565c6b71b2d1dc3ccc4d333a48ed87c8a..40bb0cbd98684a8f3759184c9101ed1de7fa1c3b 100644 |
--- a/chrome/browser/chromeos/settings/session_manager_operation_unittest.cc |
+++ b/chrome/browser/chromeos/settings/session_manager_operation_unittest.cc |
@@ -264,7 +264,7 @@ TEST_F(SessionManagerOperationTest, SignAndStoreSettings) { |
policy_.signing_key()->ExportPublicKey(&public_key); |
validator->ValidateSignature(public_key, false); |
validator->StartValidation(); |
- message_loop_.RunAllPending(); |
+ message_loop_.RunUntilIdle(); |
EXPECT_TRUE(validated_); |
// Check that the loaded policy_data contains the expected values. |