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

Issue 1408393004: Fixing flakiness of SaveDownloadableIFrame test. (Closed)

Created:
5 years, 2 months ago by Łukasz Anforowicz
Modified:
5 years, 2 months ago
CC:
chromium-reviews, benjhayden+dwatch_chromium.org, asanka, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixing flakiness of SaveDownloadableIFrame test. The SaveDownloadableIFrame was flaky, because previously the call to GetDownloadManager()->RemoveAllDownloads() could have happened before the download of thisdayinhistory.xls has completed. In this case the (still in-progress) download item would not be removed (and would confuse/fail the remainder of the test). Fixing this by having the test wait for download completion. BUG=537530 TEST=browser_tests.exe --gtest_filter=*SavePageBrowserTest*SaveDownloadableIFrame* --gtest_repeat=100 Committed: https://crrev.com/d17fd202e89a14c2e85eaaf0ed3f49ccf42d2a17 Cr-Commit-Position: refs/heads/master@{#354911}

Patch Set 1 #

Patch Set 2 : Rebasing... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -6 lines) Patch
M chrome/browser/download/save_page_browsertest.cc View 1 2 chunks +15 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Łukasz Anforowicz
Randy, could you please take a look?
5 years, 2 months ago (2015-10-19 19:28:46 UTC) #2
Randy Smith (Not in Mondays)
Give me a sketch of what was causing the flakiness? (MIght be good to put ...
5 years, 2 months ago (2015-10-19 19:33:33 UTC) #3
Randy Smith (Not in Mondays)
On 2015/10/19 19:33:33, rdsmith wrote: > Give me a sketch of what was causing the ...
5 years, 2 months ago (2015-10-19 19:34:00 UTC) #4
Randy Smith (Not in Mondays)
LGTM modulo having done manual test.
5 years, 2 months ago (2015-10-19 19:34:25 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1408393004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1408393004/20001
5 years, 2 months ago (2015-10-19 23:04:07 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-19 23:34:59 UTC) #9
commit-bot: I haz the power
5 years, 2 months ago (2015-10-19 23:36:21 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d17fd202e89a14c2e85eaaf0ed3f49ccf42d2a17
Cr-Commit-Position: refs/heads/master@{#354911}

Powered by Google App Engine
This is Rietveld 408576698