DescriptionA 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 #
|