Unverified Commit 2a26f29c authored by Greg Spencer's avatar Greg Spencer Committed by GitHub

Switch to concurrency of two, to see if that is a good balance. (#13003)

parent e2b9f890
...@@ -38,6 +38,16 @@ Future<int> runTests( ...@@ -38,6 +38,16 @@ Future<int> runTests(
testArgs.addAll(<String>['-r', 'json']); testArgs.addAll(<String>['-r', 'json']);
} }
if (enableObservatory) {
// (In particular, for collecting code coverage.)
// Turn on concurrency, but just barely. If we just go with full concurrency, then
// individual tests timeout. If we turn it off (=1), then the overall tests timeout.
// This is a lit fuse... Eventually it won't matter what number we put here.
// TODO(gspencer): Fix this: https://github.com/flutter/flutter/issues/10694
testArgs.add('--concurrency=2');
}
for (String name in names) { for (String name in names) {
testArgs..add('--name')..add(name); testArgs..add('--name')..add(name);
} }
......
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