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

Unified Diff: test/build/copies_browser_js_next_to_entrypoints_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/copies_browser_js_next_to_entrypoints_test.dart
diff --git a/test/build/copies_browser_js_next_to_entrypoints_test.dart b/test/build/copies_browser_js_next_to_entrypoints_test.dart
index 99e4e64d4128cb6d8485a3cc1ea795e5d47b7182..1f92016b9ada953dd8c0d72c1f3b76c51a02a5b1 100644
--- a/test/build/copies_browser_js_next_to_entrypoints_test.dart
+++ b/test/build/copies_browser_js_next_to_entrypoints_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,13 +13,7 @@ import '../test_pub.dart';
import 'utils.dart';
main() {
- initConfig();
-
integration("compiles dart.js and interop.js next to entrypoints", () {
- // Dart2js can take a long time to compile dart code, so we increase the
- // timeout to cope with that.
- currentSchedule.timeout *= 3;
-
serveBrowserPackage();
d.dir(appPath, [

Powered by Google App Engine
This is Rietveld 408576698