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

Issue 485753002: A small stress test that SimpleCache can't seem to handle. (Closed)

Created:
6 years, 4 months ago by jkarlin
Modified:
6 years, 3 months ago
Reviewers:
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

A small stress test that SimpleCache can't seem to handle. After a few rounds the following loop will fail on step 4 due to a bad magic number in the footer. 1. Create entry "foo". 2. Write to stream 0 and stream 1. 3. Close entry. 4. Open entry. 5. Doom entry. 6. Close entry. 7. Repeat 100 times If you write to just stream 0 or just stream 1 then it passes. Writing to both causes the failure. Even if I close the entry and open again between writing to 0 and 1 it still fails. BUG=404676

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -0 lines) Patch
M net/disk_cache/entry_unittest.cc View 1 chunk +27 lines, -0 lines 0 comments Download

Powered by Google App Engine
This is Rietveld 408576698