Skip to content

Commit f8b6596

Browse files
committed
Set TestParallelization.settings to all modules in Spark Group
Signed-off-by: Felipe Fujiy Pessoto <fepessot@microsoft.com>
1 parent f0ccbec commit f8b6596

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

build.sbt

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,8 @@ lazy val contribs = (project in file("contribs"))
550550
val dir = baseDirectory.value.getParentFile / "target" / "scala-2.12" / "classes"
551551
Files.createDirectories(dir.toPath)
552552
},
553-
Compile / compile := ((Compile / compile) dependsOn createTargetClassesDir).value
553+
Compile / compile := ((Compile / compile) dependsOn createTargetClassesDir).value,
554+
TestParallelization.settings
554555
).configureUnidoc()
555556

556557
lazy val sharing = (project in file("sharing"))
@@ -577,7 +578,8 @@ lazy val sharing = (project in file("sharing"))
577578
"org.apache.spark" %% "spark-core" % sparkVersion.value % "test" classifier "tests",
578579
"org.apache.spark" %% "spark-sql" % sparkVersion.value % "test" classifier "tests",
579580
"org.apache.spark" %% "spark-hive" % sparkVersion.value % "test" classifier "tests",
580-
)
581+
),
582+
TestParallelization.settings
581583
).configureUnidoc()
582584

583585
lazy val kernelApi = (project in file("kernel/kernel-api"))
@@ -741,7 +743,8 @@ lazy val kernelSpark = (project in file("kernel-spark"))
741743
"net.aichler" % "jupiter-interface" % "0.11.1" % "test",
742744
"org.scalatest" %% "scalatest" % scalaTestVersion % "test"
743745
),
744-
Test / testOptions += Tests.Argument(TestFrameworks.JUnit, "-v", "-a")
746+
Test / testOptions += Tests.Argument(TestFrameworks.JUnit, "-v", "-a"),
747+
TestParallelization.settings
745748
)
746749
// TODO to enable unit doc for kernelSpark.
747750

@@ -790,6 +793,7 @@ lazy val storage = (project in file("storage"))
790793

791794
// Unidoc settings
792795
unidocSourceFilePatterns += SourceFilePattern("/LogStore.java", "/CloseableIterator.java"),
796+
TestParallelization.settings
793797
).configureUnidoc()
794798

795799
lazy val storageS3DynamoDB = (project in file("storage-s3-dynamodb"))
@@ -810,7 +814,8 @@ lazy val storageS3DynamoDB = (project in file("storage-s3-dynamodb"))
810814

811815
// Test Deps
812816
"org.apache.hadoop" % "hadoop-aws" % hadoopVersion % "test", // RemoteFileChangedException
813-
)
817+
),
818+
TestParallelization.settings
814819
).configureUnidoc()
815820

816821
val icebergSparkRuntimeArtifactName = {
@@ -1015,7 +1020,8 @@ lazy val hudi = (project in file("hudi"))
10151020
MergeStrategy.first
10161021
},
10171022
// Make the 'compile' invoke the 'assembly' task to generate the uber jar.
1018-
Compile / packageBin := assembly.value
1023+
Compile / packageBin := assembly.value,
1024+
TestParallelization.settings
10191025
)
10201026

10211027
/**

0 commit comments

Comments
 (0)