Index: tools/testing/dart/test_runner.dart |
diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart |
index 3ccc3eedab0547c5c78251519380f15fa38a5035..9cdcd56a10cd609293108cf4bd838a6cdca26317 100644 |
--- a/tools/testing/dart/test_runner.dart |
+++ b/tools/testing/dart/test_runner.dart |
@@ -1672,7 +1672,7 @@ class ProcessQueue { |
var compiler = test.configuration['compiler']; |
var runners = _batchProcesses[compiler]; |
if (runners == null) { |
- runners = new List<BatchRunnerProcess>(_maxProcesses); |
+ runners = new List<BatchRunnerProcess>.fixedLength(_maxProcesses); |
for (int i = 0; i < _maxProcesses; i++) { |
runners[i] = new BatchRunnerProcess(test); |
} |