summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/disk_cache_test_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/disk_cache/disk_cache_test_util.cc')
-rw-r--r--net/disk_cache/disk_cache_test_util.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/disk_cache/disk_cache_test_util.cc b/net/disk_cache/disk_cache_test_util.cc
index 24c3925..a1afb1e 100644
--- a/net/disk_cache/disk_cache_test_util.cc
+++ b/net/disk_cache/disk_cache_test_util.cc
@@ -83,6 +83,7 @@ bool CheckCacheIntegrity(const std::wstring& path, bool new_eviction) {
return false;
if (new_eviction)
cache->SetNewEviction();
+ cache->SetFlags(disk_cache::kNoRandom);
if (!cache->Init())
return false;
return cache->SelfCheck() >= 0;