Index: test/dart2js/converts_isolate_entrypoint_in_web_test.dart |
diff --git a/test/dart2js/converts_isolate_entrypoint_in_web_test.dart b/test/dart2js/converts_isolate_entrypoint_in_web_test.dart |
index 8d908cbe476a6d7a31a87333933aa7d230bdf73a..4dcc256555c18f82e05a88b8743011ac44d4ef96 100644 |
--- a/test/dart2js/converts_isolate_entrypoint_in_web_test.dart |
+++ b/test/dart2js/converts_isolate_entrypoint_in_web_test.dart |
@@ -2,6 +2,10 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+// Dart2js can take a long time to compile dart code, so we increase the timeout |
+// to cope with that. |
+@Timeout.factor(3) |
+ |
import 'package:scheduled_test/scheduled_test.dart'; |
import '../descriptor.dart' as d; |
@@ -9,12 +13,7 @@ import '../test_pub.dart'; |
import '../serve/utils.dart'; |
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", [ |