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

Unified Diff: test/build/outputs_error_to_json_test.dart

Issue 1215833002: Use the new test runner. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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",

Powered by Google App Engine
This is Rietveld 408576698