diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-29 21:07:16 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-29 21:07:16 +0000 |
commit | 6e284eede5c2667969178b18c340325949d6007d (patch) | |
tree | 75e7e0f816a6b0090c1e5a71bba8b3b2f6ac4332 /net | |
parent | f46447ad8e404a86a024b5cb713a174b8064f79b (diff) | |
download | chromium_src-6e284eede5c2667969178b18c340325949d6007d.zip chromium_src-6e284eede5c2667969178b18c340325949d6007d.tar.gz chromium_src-6e284eede5c2667969178b18c340325949d6007d.tar.bz2 |
Disk Cache: Eliminate a race in one of the new tests
created by r103323
BUG=73102
TEST=green memory tree
TBR=gavinp
Review URL: http://codereview.chromium.org/8088001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103349 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/disk_cache/backend_unittest.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/disk_cache/backend_unittest.cc b/net/disk_cache/backend_unittest.cc index 5b101c9..7843768 100644 --- a/net/disk_cache/backend_unittest.cc +++ b/net/disk_cache/backend_unittest.cc @@ -1538,6 +1538,7 @@ void DiskCacheBackendTest::BackendInvalidEntry7() { // We should delete the cache. The list still has a corrupt node. void* iter = NULL; EXPECT_NE(net::OK, OpenNextEntry(&iter, &entry)); + FlushQueueForTest(); EXPECT_EQ(0, cache_->GetEntryCount()); } |