Go back to -j1 in flutter_tools tests (#24196)

To see if it stops the Cirrus crashing
This commit is contained in:
Todd Volkert 2018-11-09 17:31:17 -08:00 committed by GitHub
parent 563ceac8d4
commit b4ae4b00ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,6 @@
import 'dart:async';
import 'dart:io';
import 'dart:math' as math;
import 'package:path/path.dart' as path;
@ -230,9 +229,7 @@ Future<void> _pubRunTest(
String testPath,
bool enableFlutterToolAsserts = false
}) {
final List<String> args = <String>['run', 'test', '-rcompact'];
final int concurrency = math.max(1, Platform.numberOfProcessors - 1);
args.add('-j$concurrency');
final List<String> args = <String>['run', 'test', '-rcompact', '-j1'];
if (!hasColor)
args.add('--no-color');
if (testPath != null)