Turn on concurrency for coverage shard so that it runs in parallel to fix Travis timeouts. (#13001)

This commit is contained in:
Greg Spencer
2017-11-13 13:20:38 -08:00
committed by GitHub
parent 9d0041c982
commit e2b9f8906d
2 changed files with 1 additions and 6 deletions

View File

@@ -174,7 +174,7 @@ Future<Null> _runCoverage() async {
if (Platform.environment['TRAVIS'] == null ||
Platform.environment['TRAVIS_PULL_REQUEST'] != 'false' ||
Platform.environment['TRAVIS_OS_NAME'] != 'linux') {
print('${bold}DONE: test.dart does not run coverage for Travis pull requests or not non-Linux environments');
print('${bold}DONE: test.dart does not run coverage for Travis pull requests or in non-Linux environments');
return;
}

View File

@@ -34,11 +34,6 @@ Future<int> runTests(
if (!terminal.supportsColor)
testArgs.addAll(<String>['--no-color', '-rexpanded']);
if (enableObservatory) {
// (In particular, for collecting code coverage.)
testArgs.add('--concurrency=1');
}
if (machine) {
testArgs.addAll(<String>['-r', 'json']);
}