summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/backend_unittest.cc
diff options
context:
space:
mode:
authorrvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-14 01:29:18 +0000
committerrvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-14 01:29:18 +0000
commit2027a5192d2898f24d9ef9d2f4e36765f9d82abd (patch)
tree716392495c651b2ca4ab14edb540f199f1795dfa /net/disk_cache/backend_unittest.cc
parent3ccbef3e6d7388eebe4e212f7f7813fb992314fe (diff)
downloadchromium_src-2027a5192d2898f24d9ef9d2f4e36765f9d82abd.zip
chromium_src-2027a5192d2898f24d9ef9d2f4e36765f9d82abd.tar.gz
chromium_src-2027a5192d2898f24d9ef9d2f4e36765f9d82abd.tar.bz2
disk cache: Convert one ASSERT_EQ to EXPECT_EQ
Looks like DiskCacheBackendTest.CreateBackend_MissingFile is flaky on XP. I don't know yet what's going on, but the test should run to completion in any case (even when it fails) or it will crash. BUG=271122 TEST=net_unittests R=gavinp@chromium.org Review URL: https://chromiumcodereview.appspot.com/23131002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217430 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/backend_unittest.cc')
-rw-r--r--net/disk_cache/backend_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/backend_unittest.cc b/net/disk_cache/backend_unittest.cc
index bc48a2e..7eeeee1 100644
--- a/net/disk_cache/backend_unittest.cc
+++ b/net/disk_cache/backend_unittest.cc
@@ -313,7 +313,7 @@ TEST_F(DiskCacheBackendTest, CreateBackend_MissingFile) {
scoped_ptr<disk_cache::BackendImpl> cache(new disk_cache::BackendImpl(
cache_path_, cache_thread.message_loop_proxy().get(), NULL));
int rv = cache->Init(cb.callback());
- ASSERT_EQ(net::ERR_FAILED, cb.GetResult(rv));
+ EXPECT_EQ(net::ERR_FAILED, cb.GetResult(rv));
base::ThreadRestrictions::SetIOAllowed(prev);
cache.reset();