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

Unified Diff: test/build/handles_long_paths_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/handles_long_paths_test.dart
diff --git a/test/build/handles_long_paths_test.dart b/test/build/handles_long_paths_test.dart
index 3b8b17b60e42b010a5811eccead0111cddef2dc4..9ff9a9b1221aaf1df6e8f5ffe3d8fd08f5820c13 100644
--- a/test/build/handles_long_paths_test.dart
+++ b/test/build/handles_long_paths_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 'package:path/path.dart' as path;
@@ -10,8 +14,6 @@ import '../descriptor.dart' as d;
import '../test_pub.dart';
main() {
- initConfig();
-
// This is a regression test for dartbug.com/14442.
//
// If you have a long chain of path dependencies with long relative paths,
@@ -27,10 +29,6 @@ main() {
// path at the OS to choke on.
integration("handles long relative paths", () {
- // Dart2js can take a long time to compile dart code, so we increase the
- // timeout to cope with that.
- currentSchedule.timeout *= 3;
-
d.dir("some_long_dependency_name", [
d.libPubspec("foo", "0.0.1"),
d.dir("lib", [

Powered by Google App Engine
This is Rietveld 408576698