Skip to content

Commit

Permalink
Test with 3 groups
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 b2382ec commit 14667b6
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 @@ -40,7 +40,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, 4))
concurrentRestrictions in Global := Seq(Tags.limit(Tags.ForkedTestGroup, 3))

// Run as part of compile task.
lazy val compileScalastyle = taskKey[Unit]("compileScalastyle")
Expand Down Expand Up @@ -284,7 +284,7 @@ lazy val integtest = (project in file("integ-test"))
IntegrationTest / testGrouping := {
val tests = (IntegrationTest / definedTests).value
val forkOptions = ForkOptions()
val groups = tests.grouped(tests.size / 4 + 1).zipWithIndex.map { case (group, index) =>
val groups = tests.grouped(tests.size / 3 + 1).zipWithIndex.map { case (group, index) =>
val groupName = s"group-${index + 1}"
new Tests.Group(
name = groupName,
Expand Down

0 comments on commit 14667b6

Please sign in to comment.