Unverified Commit e2b9f890 authored by Greg Spencer's avatar Greg Spencer Committed by GitHub

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

parent 9d0041c9
...@@ -174,7 +174,7 @@ Future<Null> _runCoverage() async { ...@@ -174,7 +174,7 @@ Future<Null> _runCoverage() async {
if (Platform.environment['TRAVIS'] == null || if (Platform.environment['TRAVIS'] == null ||
Platform.environment['TRAVIS_PULL_REQUEST'] != 'false' || Platform.environment['TRAVIS_PULL_REQUEST'] != 'false' ||
Platform.environment['TRAVIS_OS_NAME'] != 'linux') { 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; return;
} }
......
...@@ -34,11 +34,6 @@ Future<int> runTests( ...@@ -34,11 +34,6 @@ Future<int> runTests(
if (!terminal.supportsColor) if (!terminal.supportsColor)
testArgs.addAll(<String>['--no-color', '-rexpanded']); testArgs.addAll(<String>['--no-color', '-rexpanded']);
if (enableObservatory) {
// (In particular, for collecting code coverage.)
testArgs.add('--concurrency=1');
}
if (machine) { if (machine) {
testArgs.addAll(<String>['-r', 'json']); testArgs.addAll(<String>['-r', 'json']);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment