Skip to content

Commit

Permalink
Enable parallelExecution
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 20, 2024
1 parent ec337b4 commit d619e72
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ ThisBuild / scalastyleConfig := baseDirectory.value / "scalastyle-config.xml"
/**
* Tests cannot be run in parallel since multiple Spark contexts cannot run in the same JVM
*/
ThisBuild / Test / parallelExecution := false
ThisBuild / Test / parallelExecution := true
ThisBuild / Test / fork := true

// Run as part of compile task.
lazy val compileScalastyle = taskKey[Unit]("compileScalastyle")
Expand Down Expand Up @@ -274,13 +275,13 @@ lazy val integtest = (project in file("integ-test"))
IntegrationTest / javaSource := baseDirectory.value / "src/integration/java",
IntegrationTest / scalaSource := baseDirectory.value / "src/integration/scala",
IntegrationTest / resourceDirectory := baseDirectory.value / "src/integration/resources",
IntegrationTest / parallelExecution := false,
IntegrationTest / parallelExecution := true,
IntegrationTest / fork := true,
)),
inConfig(AwsIntegrationTest)(Defaults.testSettings ++ Seq(
AwsIntegrationTest / javaSource := baseDirectory.value / "src/aws-integration/java",
AwsIntegrationTest / scalaSource := baseDirectory.value / "src/aws-integration/scala",
AwsIntegrationTest / parallelExecution := false,
AwsIntegrationTest / parallelExecution := true,
AwsIntegrationTest / fork := true,
)),
libraryDependencies ++= Seq(
Expand Down

0 comments on commit d619e72

Please sign in to comment.