commit | d6fc44ba672274e6852c10e8f7634c47e269cfb0 | [log] [tgz] |
---|---|---|
author | Yegor <yjbanov@google.com> | Wed May 12 18:04:03 2021 -0700 |
committer | GitHub <noreply@github.com> | Wed May 12 18:04:03 2021 -0700 |
tree | 31ca9edfb24bf080c893dc6eccf17333226ef88b | |
parent | b1c1bdbfba3e22829156f19fa682abacee0f3803 [diff] |
shuffle tests in web_long_running_tests shard (#82394)
diff --git a/dev/bots/test.dart b/dev/bots/test.dart index 47b7eaa..c81bfa3 100644 --- a/dev/bots/test.dart +++ b/dev/bots/test.dart
@@ -864,6 +864,11 @@ '--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();