shuffle tests in web_long_running_tests shard (#82394)

This commit is contained in:
Yegor
2021-05-12 18:04:03 -07:00
committed by GitHub
parent b1c1bdbfba
commit d6fc44ba67

View File

@@ -864,6 +864,11 @@ Future<void> _runWebLongRunningTests() async {
'--sound-null-safety',
]),
];
// Shuffling mixes fast tests with slow tests so shards take roughly the same
// amount of time to run.
tests.shuffle(math.Random(0));
await _ensureChromeDriverIsRunning();
await _runShardRunnerIndexOfTotalSubshard(tests);
await _stopChromeDriver();