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

Issue 284743004: Fix time outs in ephemeral apps tests (Closed)

Created:
6 years, 7 months ago by tmdiep
Modified:
6 years, 7 months ago
Reviewers:
tapted
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fix time outs in ephemeral apps tests EphemeralAppBrowserTest.GarbageCollectData and similar browser tests have been reported to be flaky. There is a time out despite the tests passing. Move up the creation of the ResultCatcher to handle the case where an unlucky context switch after launching a test could mean that the test fully completes before the ResultCatcher has installed observers, causing GetNextResult() to block indefinitely. BUG=363033 TEST=browser_tests (EphemeralAppBrowserTest.*) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270551

Patch Set 1 #

Total comments: 1

Patch Set 2 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -6 lines) Patch
M chrome/browser/apps/ephemeral_app_browsertest.cc View 1 1 chunk +4 lines, -6 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
tmdiep
This patch attempts to fix time outs in some ephemeral apps tests by moving up ...
6 years, 7 months ago (2014-05-14 00:01:09 UTC) #1
tapted
lgtm You could also say in the description ~"An unlucky context switch after launching a ...
6 years, 7 months ago (2014-05-14 01:54:57 UTC) #2
tmdiep
Thanks Trent. Nit addressed and updated the description to what you wrote verbatim :)
6 years, 7 months ago (2014-05-14 02:08:13 UTC) #3
tmdiep
The CQ bit was checked by tmdiep@chromium.org
6 years, 7 months ago (2014-05-14 04:11:47 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/284743004/20001
6 years, 7 months ago (2014-05-14 04:11:59 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 04:53:18 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 04:55:13 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/74243)
6 years, 7 months ago (2014-05-14 04:55:13 UTC) #8
tmdiep
The CQ bit was checked by tmdiep@chromium.org
6 years, 7 months ago (2014-05-14 23:26:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/284743004/20001
6 years, 7 months ago (2014-05-14 23:29:08 UTC) #10
commit-bot: I haz the power
6 years, 7 months ago (2014-05-15 01:04:01 UTC) #11
Message was sent while issue was closed.
Change committed as 270551

Powered by Google App Engine
This is Rietveld 408576698