Skip to content

Commit

Permalink
Turn on concurrency for coverage shard so that it runs in parallel to…
Browse files Browse the repository at this point in the history
… fix Travis timeouts. (flutter#13001)
  • Loading branch information
gspencergoog committed Nov 13, 2017
1 parent 9d0041c commit e2b9f89
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion dev/bots/test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
5 changes: 0 additions & 5 deletions packages/flutter_tools/lib/src/test/runner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
}
Expand Down

0 comments on commit e2b9f89

Please sign in to comment.