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

Issue 2878523002: SimpleCache: Add a test that covers recovery from missing index. (Closed)

Created:
3 years, 7 months ago by Maks Orlovich
Modified:
3 years, 7 months ago
Reviewers:
jkarlin
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

SimpleCache: Add a test that covers recovery from missing index. (As I can't seem to find a preexisting one) BUG= Review-Url: https://codereview.chromium.org/2878523002 Cr-Commit-Position: refs/heads/master@{#470947} Committed: https://chromium.googlesource.com/chromium/src/+/31a646c7268cb0957b681ede8332da9bdc513bd2

Patch Set 1 #

Patch Set 2 : Fix race, so it actually exercises the restore path consistently. #

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

Dependent Patchsets:

Messages

Total messages: 19 (10 generated)
Maks Orlovich
3 years, 7 months ago (2017-05-10 19:26:36 UTC) #6
jkarlin
lgtm!
3 years, 7 months ago (2017-05-11 14:17:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2878523002/20001
3 years, 7 months ago (2017-05-11 14:24:05 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/31a646c7268cb0957b681ede8332da9bdc513bd2
3 years, 7 months ago (2017-05-11 14:29:56 UTC) #14
Maks Orlovich
Just got e-mail that this flaked on "on Android Cronet KitKat Builder", with: C 335.081s ...
3 years, 7 months ago (2017-05-11 15:27:04 UTC) #15
Maks Orlovich
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2879613002/ by morlovich@chromium.org. ...
3 years, 7 months ago (2017-05-11 15:29:02 UTC) #16
whywhat
On 2017/05/11 at 15:29:02, morlovich wrote: > A revert of this CL (patchset #2 id:20001) ...
3 years, 7 months ago (2017-05-11 16:02:56 UTC) #17
Maks Orlovich
On 2017/05/11 16:02:56, whywhat wrote: > On 2017/05/11 at 15:29:02, morlovich wrote: > > A ...
3 years, 7 months ago (2017-05-11 16:13:33 UTC) #18
whywhat
3 years, 7 months ago (2017-05-11 17:20:21 UTC) #19
Message was sent while issue was closed.
On 2017/05/11 at 16:13:33, morlovich wrote:
> On 2017/05/11 16:02:56, whywhat wrote:
> > On 2017/05/11 at 15:29:02, morlovich wrote:
> > > A revert of this CL (patchset #2 id:20001) has been created in
> > https://codereview.chromium.org/2879613002/ by
mailto:morlovich@chromium.org.
> > > 
> > > The reason for reverting is: Seem to break (or maybe just flake?) on
"Android
> > Cronet KitKat Builder".  
> > > 
> > > Need to figure out how to test it myself like that, I guess.
> > > 
> > > .
> > 
> > There're instructions for Android build here:
> >
https://chromium.googlesource.com/chromium/src/+/lkcr/docs/android_build_inst...
> > Note the "Convert existing Linux checkout" if that's what you're using.
> > I'd think you can escape with running the unittests on an emulator vs using
an
> > actual Android device.
> 
> Oh, yeah, I've done that before, but had trouble with the test framework
trying to talk to the JVM
> to figure out paths and stuff.

You might need to run build/install-build-deps-android.sh or something?
Also sourcing build/android/envsetup.sh sets up path for adb and so on.

Powered by Google App Engine
This is Rietveld 408576698