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

Issue 2342813003: Fix flaky FileFlusherTest.DuplicateRequests (Closed)

Created:
4 years, 3 months ago by xiyuan
Modified:
4 years, 3 months ago
Reviewers:
achuithb
CC:
chromium-reviews, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix flaky FileFlusherTest.DuplicateRequests The flakyness is cause by the racing that the first flush request might be started before the duplicate request comes in. Also fixed a problem that Job::ScheduleFinish could be called twice. One from Cancel and the other from Start on a canceled job. BUG=647070 Committed: https://crrev.com/f8838f1b9bbba7eacaf398da4eaaf9996727b502 Cr-Commit-Position: refs/heads/master@{#418914}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -1 line) Patch
M chrome/browser/chromeos/base/file_flusher.h View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/base/file_flusher.cc View 4 chunks +18 lines, -1 line 1 comment Download
M chrome/browser/chromeos/base/file_flusher_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (7 generated)
xiyuan
4 years, 3 months ago (2016-09-15 17:49:19 UTC) #3
achuithb
lgtm https://codereview.chromium.org/2342813003/diff/1/chrome/browser/chromeos/base/file_flusher.cc File chrome/browser/chromeos/base/file_flusher.cc (right): https://codereview.chromium.org/2342813003/diff/1/chrome/browser/chromeos/base/file_flusher.cc#newcode193 chrome/browser/chromeos/base/file_flusher.cc:193: DCHECK(std::none_of(jobs_.begin(), jobs_.end(), Wow, nice. It's like python.
4 years, 3 months ago (2016-09-15 18:36:56 UTC) #7
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/2342813003/1
4 years, 3 months ago (2016-09-15 18:38:39 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-15 18:44:48 UTC) #10
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 18:46:29 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f8838f1b9bbba7eacaf398da4eaaf9996727b502
Cr-Commit-Position: refs/heads/master@{#418914}

Powered by Google App Engine
This is Rietveld 408576698