Merge pull request #6125 from eatkins/sort-scripted-tests

Sort scripted tests
This commit is contained in:
eugene yokota 2020-11-19 14:52:53 -05:00 committed by GitHub
commit 711a590bc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ final class ScriptedTests(
def createTestRunners(tests: Seq[TestInfo]): Seq[TestRunner] = {
tests
.sortBy(_._1)
.grouped(batchSize)
.map { batch => () =>
IO.withTemporaryDirectory {