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

Issue 1882813002: Delay Firefox browser startup in test scripts, to flatten load. (Closed)

Created:
4 years, 8 months ago by Bill Hesse
Modified:
4 years, 8 months ago
CC:
reviews_dartlang.org, ahe
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Delay Firefox browser startup in test scripts, to flatten load. BUG=https://github.com/dart-lang/sdk/issues/26060 R=johnniwinther@google.com Committed: https://github.com/dart-lang/sdk/commit/40b69fd615afad6beb7e625757bc176964325f90

Patch Set 1 #

Total comments: 1

Patch Set 2 : Increase delay to 10 seconds. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M tools/testing/dart/browser_controller.dart View 1 1 chunk +4 lines, -1 line 2 comments Download

Messages

Total messages: 15 (6 generated)
Bill Hesse
See issue 26060 for information on tests of this fix.
4 years, 8 months ago (2016-04-13 13:36:41 UTC) #2
Bill Hesse
4 years, 8 months ago (2016-04-25 08:49:10 UTC) #4
ahe
As far as I understand this change, the idea is that starting Firefox starves the ...
4 years, 8 months ago (2016-04-25 11:17:21 UTC) #5
Bill Hesse
On 2016/04/25 11:17:21, ahe wrote: > As far as I understand this change, the idea ...
4 years, 8 months ago (2016-04-25 12:10:25 UTC) #8
Siggi Cherem (dart-lang)
+Johnni Johnni might be able to give a better estimate of how much work it ...
4 years, 8 months ago (2016-04-25 18:21:41 UTC) #9
Johnni Winther
On 2016/04/25 18:21:41, Siggi Cherem (dart-lang) wrote: > +Johnni > > Johnni might be able ...
4 years, 8 months ago (2016-04-26 08:47:49 UTC) #10
Johnni Winther
lgtm
4 years, 8 months ago (2016-04-26 13:31:09 UTC) #12
Bill Hesse
Committed patchset #2 (id:20001) manually as 40b69fd615afad6beb7e625757bc176964325f90 (presubmit successful).
4 years, 8 months ago (2016-04-26 13:33:58 UTC) #14
Bill Hesse
4 years, 8 months ago (2016-04-26 19:25:08 UTC) #15
Message was sent while issue was closed.
This caused the test step to fail on the buildbots, probably because a browser
was starting after everything shut down.  Reverting in CL
https://codereview.chromium.org/1921553005/

https://codereview.chromium.org/1882813002/diff/20001/tools/testing/dart/brow...
File tools/testing/dart/browser_controller.dart (right):

https://codereview.chromium.org/1882813002/diff/20001/tools/testing/dart/brow...
tools/testing/dart/browser_controller.dart:771: return new Future.delayed(new
Duration(seconds: 10)).then((_) {
On 2016/04/25 18:21:41, Siggi Cherem (dart-lang) wrote:
> since this is only causing issues in windows, can we conditionally perform the
> delay only there?

We only test on linux and windows, and this delay is not very significant at
all, and this object does not have information about which platform it is
running on.  So I prefer not to do this.  If we need to, we can query the
Platform.isWindows value from dart:io Platform, so it is doable.

Powered by Google App Engine
This is Rietveld 408576698