Skip to content

Commit

Permalink
reset group number to 4
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 146b672 commit 5c6c7b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ ThisBuild / Test / parallelExecution := false
/**
* Set the parallelism of forked tests to 4 to accelerate integration test
*/
concurrentRestrictions in Global := Seq(Tags.limit(Tags.ForkedTestGroup, 3))
concurrentRestrictions in Global := Seq(Tags.limit(Tags.ForkedTestGroup, 4))

// Run as part of compile task.
lazy val compileScalastyle = taskKey[Unit]("compileScalastyle")
Expand Down Expand Up @@ -287,7 +287,7 @@ lazy val integtest = (project in file("integ-test"))
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 / 3 + 1).zipWithIndex.map { case (group, index) =>
val groups = Random.shuffle(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 5c6c7b1

Please sign in to comment.