diff --git a/build.sbt b/build.sbt index ba41db288..365b88aa3 100644 --- a/build.sbt +++ b/build.sbt @@ -2,8 +2,6 @@ * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 */ -import scala.util.Random - import Dependencies.* lazy val scala212 = "2.12.14" @@ -286,8 +284,7 @@ lazy val integtest = (project in file("integ-test")) IntegrationTest / testGrouping := { val tests = (IntegrationTest / definedTests).value val forkOptions = ForkOptions() - // Random shuffle the tests and split them into 3 groups - val groups = Random.shuffle(tests).grouped(tests.size / 4 + 1).zipWithIndex.map { case (group, index) => + val groups = tests.grouped(tests.size / 4 + 1).zipWithIndex.map { case (group, index) => val groupName = s"group-${index + 1}" new Tests.Group( name = groupName,