commit | f866843acbb7923b75af17badcdb94dbc1f91c07 | [log] [tgz] |
---|---|---|
author | nweiz@google.com <nweiz@google.com> | Wed Jan 29 00:03:35 2014 +0000 |
committer | nweiz@google.com <nweiz@google.com> | Wed Jan 29 00:03:35 2014 +0000 |
tree | ec8c1af678b329c9b6e06698c875e4f723a7b241 | |
parent | e2bac104784cb7f44176c60c1e10f60084118114 [diff] |
Increase the timeout for a failing pub test. TBR R=rnystrom@google.com Review URL: https://codereview.chromium.org//149063005 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32096 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/sdk/lib/_internal/pub/test/serve/utils.dart b/sdk/lib/_internal/pub/test/serve/utils.dart index 43f1966..0394803 100644 --- a/sdk/lib/_internal/pub/test/serve/utils.dart +++ b/sdk/lib/_internal/pub/test/serve/utils.dart
@@ -106,7 +106,7 @@ // Dart2js can take a long time to compile dart code, so we increase the // timeout to cope with that. - currentSchedule.timeout = new Duration(seconds: 15); + currentSchedule.timeout *= 1.5; return startPub(args: pubArgs); }
diff --git a/sdk/lib/_internal/pub/test/transformer/dart2js/converts_isolate_entrypoint_in_web_test.dart b/sdk/lib/_internal/pub/test/transformer/dart2js/converts_isolate_entrypoint_in_web_test.dart index 2430273..087e9f2 100644 --- a/sdk/lib/_internal/pub/test/transformer/dart2js/converts_isolate_entrypoint_in_web_test.dart +++ b/sdk/lib/_internal/pub/test/transformer/dart2js/converts_isolate_entrypoint_in_web_test.dart
@@ -13,6 +13,10 @@ main() { initConfig(); integration("converts a Dart isolate entrypoint in web to JS", () { + // Increase the timeout because dart2js takes a lot longer than usual to + // compile isolate entrypoints. + currentSchedule.timeout *= 2; + d.dir(appPath, [ d.appPubspec(), d.dir("web", [