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:
Matan Lurey
2024-11-14 16:45:50 -08:00
committed by GitHub
parent d0bd283734
commit 57b0b02e4d
2 changed files with 20 additions and 2 deletions

View File

@@ -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,