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

Issue 23702024: SimpleCache: have tests run on all three streams (Closed)

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

Description

SimpleCache: have tests run on all three streams Many unit tests only run on the first stream. With the upcoming changes to SimpleCache, each stream will have a different implementation. This CL ensures test are ran on all streams. BUG=173398 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243170

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : No testing for stream 2 in DoomedEntry #

Total comments: 4

Patch Set 4 : Addressed pasko's comments #

Patch Set 5 : Fixed a test issue with optimistic operations on stream 0 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -200 lines) Patch
M net/disk_cache/entry_unittest.cc View 1 2 3 4 30 chunks +285 lines, -200 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
clamy
pasko, gavinp: PTAL. This is intended to go along with https://chromiumcodereview.appspot.com/23983005/ (the stream merge).
7 years, 3 months ago (2013-09-09 14:46:04 UTC) #1
pasko
Thanks, Camille, this looks useful. Running CleanupCacheDir() in many tests is a good choice, since ...
7 years, 3 months ago (2013-09-10 14:35:53 UTC) #2
clamy
On 2013/09/10 14:35:53, pasko wrote: > Thanks, Camille, this looks useful. > > Running CleanupCacheDir() ...
7 years, 3 months ago (2013-09-10 14:45:44 UTC) #3
clamy
egor, gavin: PTAL In this version, SimpleCacheNonSequentialWrite seem to have no race condition - and ...
7 years, 3 months ago (2013-09-19 13:39:06 UTC) #4
pasko
On 2013/09/19 13:39:06, clamy wrote: > egor, gavin: PTAL > > In this version, SimpleCacheNonSequentialWrite ...
7 years, 1 month ago (2013-10-29 18:53:46 UTC) #5
clamy
I stopped testing on stream 2 in the DoomdEntry test. The other ones seem ok.
7 years, 1 month ago (2013-11-20 13:50:08 UTC) #6
pasko
lgtm given two comments below are addressed. https://codereview.chromium.org/23702024/diff/31001/net/disk_cache/entry_unittest.cc File net/disk_cache/entry_unittest.cc (left): https://codereview.chromium.org/23702024/diff/31001/net/disk_cache/entry_unittest.cc#oldcode3469 net/disk_cache/entry_unittest.cc:3469: EXPECT_EQ(entry, entry2); ...
7 years, 1 month ago (2013-11-21 13:02:21 UTC) #7
clamy
Thanks for the review! I'll be waiting on Gavin's one when he's back from vacation. ...
7 years, 1 month ago (2013-11-21 18:55:04 UTC) #8
pasko
still lgtm.
7 years, 1 month ago (2013-11-21 19:22:54 UTC) #9
pasko
gavinp: ping
7 years ago (2013-12-23 10:09:42 UTC) #10
gavinp
lgtm. Thanks for the ping!
6 years, 11 months ago (2013-12-30 20:57:45 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/clamy@chromium.org/23702024/131001
6 years, 11 months ago (2014-01-06 14:24:58 UTC) #12
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) net_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=210087
6 years, 11 months ago (2014-01-06 15:07:42 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/clamy@chromium.org/23702024/401001
6 years, 11 months ago (2014-01-06 17:24:53 UTC) #14
commit-bot: I haz the power
6 years, 11 months ago (2014-01-06 21:33:51 UTC) #15
Message was sent while issue was closed.
Change committed as 243170

Powered by Google App Engine
This is Rietveld 408576698