Skip to content

Commit 655b659

Browse files
authored
Merge pull request scala#6377 from retronym/topic/workaround-sbt-test-race
Disable parallelism in the scalacheck suite
2 parents 1a8dfbb + a6873a2 commit 655b659

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.sbt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,9 @@ lazy val scalacheck = project.in(file("test") / "scalacheck")
598598
libraryDependencies ++= Seq(scalacheckDep),
599599
unmanagedSourceDirectories in Compile := Nil,
600600
unmanagedSourceDirectories in Test := List(baseDirectory.value)
601+
).settings(
602+
// Workaround for https://github.com/sbt/sbt/pull/3985
603+
List(Keys.test, Keys.testOnly).map(task => parallelExecution in task := false) : _*
601604
)
602605

603606
lazy val osgiTestFelix = osgiTestProject(

0 commit comments

Comments
 (0)