Unverified Commit d6fc44ba authored by Yegor's avatar Yegor Committed by GitHub

shuffle tests in web_long_running_tests shard (#82394)

parent b1c1bdbf
...@@ -864,6 +864,11 @@ Future<void> _runWebLongRunningTests() async { ...@@ -864,6 +864,11 @@ Future<void> _runWebLongRunningTests() async {
'--sound-null-safety', '--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 _ensureChromeDriverIsRunning();
await _runShardRunnerIndexOfTotalSubshard(tests); await _runShardRunnerIndexOfTotalSubshard(tests);
await _stopChromeDriver(); await _stopChromeDriver();
......
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