Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(712)

Unified Diff: chrome/browser/history/in_memory_url_index_unittest.cc

Issue 10914125: A speculative fix for TSAN and HeapCheck failures in InMemoryURLIndexCacheTest. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Sync Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/heapcheck/unit_tests.gtest-heapcheck.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/in_memory_url_index_unittest.cc
diff --git a/chrome/browser/history/in_memory_url_index_unittest.cc b/chrome/browser/history/in_memory_url_index_unittest.cc
index 6d2ea6877b874283efe9e8fdff3a4d093325959f..834cfd91858bf1d987152044186b279cb0aadb00 100644
--- a/chrome/browser/history/in_memory_url_index_unittest.cc
+++ b/chrome/browser/history/in_memory_url_index_unittest.cc
@@ -186,6 +186,7 @@ void InMemoryURLIndexTest::SetUp() {
profile_.CreateBookmarkModel(true);
profile_.BlockUntilBookmarkModelLoaded();
profile_.BlockUntilHistoryProcessesPendingRequests();
+ profile_.BlockUntilHistoryIndexIsRefreshed();
HistoryService* history_service =
HistoryServiceFactory::GetForProfile(&profile_,
Profile::EXPLICIT_ACCESS);
« no previous file with comments | « no previous file | tools/heapcheck/unit_tests.gtest-heapcheck.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698