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

Unified Diff: test/dart2js/outputs_deferred_libraries_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/dart2js/outputs_deferred_libraries_test.dart
diff --git a/test/dart2js/outputs_deferred_libraries_test.dart b/test/dart2js/outputs_deferred_libraries_test.dart
index 7a0f4ae69f6e985dcdad49848020f243069f6f8f..f7c5fee1e4739c12c25e6bb2e250fb63870c9758 100644
--- a/test/dart2js/outputs_deferred_libraries_test.dart
+++ b/test/dart2js/outputs_deferred_libraries_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;
@@ -34,12 +38,7 @@ fn() => print("b");
""";
main() {
- initConfig();
integration("compiles deferred libraries to separate outputs", () {
- // Dart2js can take a long time to compile dart code, so we increase the
- // timeout to cope with that.
- currentSchedule.timeout *= 3;
-
d.dir(appPath, [
d.appPubspec(),
d.dir('web', [

Powered by Google App Engine
This is Rietveld 408576698