Index: test/build/outputs_error_to_json_test.dart |
diff --git a/test/build/outputs_error_to_json_test.dart b/test/build/outputs_error_to_json_test.dart |
index c6a4fef19cde7cf21fd0e6a7ea17ba3461a3747f..7b8dba05c06e79d056a8ec5b664b76e4411dc491 100644 |
--- a/test/build/outputs_error_to_json_test.dart |
+++ b/test/build/outputs_error_to_json_test.dart |
@@ -2,7 +2,9 @@ |
// 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. |
-library pub_tests; |
+// Dart2js can take a long time to compile dart code, so we increase the timeout |
+// to cope with that. |
+@Timeout.factor(3) |
import 'package:pub/src/exit_codes.dart' as exit_codes; |
import 'package:scheduled_test/scheduled_test.dart'; |
@@ -25,13 +27,8 @@ class RewriteTransformer extends Transformer { |
"""; |
main() { |
- initConfig(); |
withBarbackVersions("any", () { |
integration("outputs error to JSON in a failed build", () { |
- // Loading transformers takes several seconds, so make sure we don't |
- // timeout. |
- currentSchedule.timeout *= 2; |
- |
d.dir(appPath, [ |
d.pubspec({ |
"name": "myapp", |