Index: chrome/browser/ui/app_list/search/app_search_provider_unittest.cc |
diff --git a/chrome/browser/ui/app_list/search/app_search_provider_unittest.cc b/chrome/browser/ui/app_list/search/app_search_provider_unittest.cc |
index 7b34130616ed49dbf0ad5bc42774f66036e73b39..b59c139b4c3aa02f40f7f1f9e1f4d8fdbea52b2b 100644 |
--- a/chrome/browser/ui/app_list/search/app_search_provider_unittest.cc |
+++ b/chrome/browser/ui/app_list/search/app_search_provider_unittest.cc |
@@ -107,6 +107,10 @@ TEST_F(AppSearchProviderTest, Uninstall) { |
extensions::UNINSTALL_REASON_FOR_TESTING, |
base::Bind(&base::DoNothing), |
NULL); |
+ |
+ // Allow async AppSearchProvider::UpdateResults to run. |
+ base::RunLoop().RunUntilIdle(); |
+ |
// Uninstalling an app should update the result list without needing to start |
// a new search. |
EXPECT_TRUE(results().empty()); |