Chromium Code Reviews| Index: tools/testing/dart/test_suite.dart |
| diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart |
| index fa06f77db9a157e6b77b55d65faaa6d671bbfd41..7c8b7472d4be0f8213af039bbe3e82f06f4b06be 100644 |
| --- a/tools/testing/dart/test_suite.dart |
| +++ b/tools/testing/dart/test_suite.dart |
| @@ -1128,10 +1128,17 @@ class JUnitTestSuite implements TestSuite { |
| dartDir + '/tools/test.py', |
| 'org.junit.runner.JUnitCore']; |
| args.addAll(testClasses); |
| - |
| + |
| + // Lengthen the timeout for JUnit tests. It is normal for them |
| + // to run for a few minutes. |
| + Map updatedConfiguration = new Map(); |
|
Bill Hesse
2012/04/10 10:50:56
Why not new Map.from(configuration)?
|
| + configuration.forEach((key, value) { |
| + updatedConfiguration[key] = value; |
| + }); |
| + updatedConfiguration['timeout'] *= 2; |
| doTest(new TestCase(suiteName, |
| [new Command('java', args)], |
| - configuration, |
| + updatedConfiguration, |
| completeHandler, |
| new Set<String>.from([PASS]))); |
| doDone(); |