Skip to content

Commit

Permalink
revert shuffle
Browse files Browse the repository at this point in the history
Signed-off-by: Heng Qian <[email protected]>
  • Loading branch information
qianheng-aws committed Nov 21, 2024
1 parent 5c6c7b1 commit 1bce0ae
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 1bce0ae

Please sign in to comment.