Index: chromeos/cryptohome/system_salt_getter_unittest.cc |
diff --git a/chromeos/cryptohome/system_salt_getter_unittest.cc b/chromeos/cryptohome/system_salt_getter_unittest.cc |
index 84403e4841abfd8c8f334c990f86012da32998a3..07883a03f8e5965e368a5881958a9e5718c6263c 100644 |
--- a/chromeos/cryptohome/system_salt_getter_unittest.cc |
+++ b/chromeos/cryptohome/system_salt_getter_unittest.cc |
@@ -55,6 +55,7 @@ TEST_F(SystemSaltGetterTest, GetSystemSalt) { |
// Service becomes available. |
fake_cryptohome_client_->SetServiceIsAvailable(true); |
+ base::RunLoop().RunUntilIdle(); |
hashimoto
2013/10/25 11:06:55
Test was failing because message loop was not run.
|
const std::string expected_system_salt = |
SystemSaltGetter::ConvertRawSaltToHexString( |
FakeCryptohomeClient::GetStubSystemSalt()); |