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", [ |