Try running historically flaky tests first to make flutter build apk health tests time out more often? (#158967)
I have no idea if this will work, but `6_6` is currently the suite that seems to have the most problems. Towards https://github.com/flutter/flutter/issues/158560.
This commit is contained in:
@@ -342,6 +342,7 @@ Future<void> runDartTest(String workingDirectory, {
|
||||
bool ensurePrecompiledTool = true,
|
||||
bool shuffleTests = true,
|
||||
bool collectMetrics = false,
|
||||
bool runSkipped = false,
|
||||
}) async {
|
||||
int? cpus;
|
||||
final String? cpuVariable = Platform.environment['CPU']; // CPU is set in cirrus.yml
|
||||
@@ -379,6 +380,8 @@ Future<void> runDartTest(String workingDirectory, {
|
||||
'--coverage=$coverage',
|
||||
if (perTestTimeout != null)
|
||||
'--timeout=${perTestTimeout.inMilliseconds}ms',
|
||||
if (runSkipped)
|
||||
'--run-skipped',
|
||||
if (testPaths != null)
|
||||
for (final String testPath in testPaths)
|
||||
testPath,
|
||||
|
||||
Reference in New Issue
Block a user