Skip to content

Commit e2f8810

Browse files
author
zhouhai
committed
[Minor] Limit concurrent forked test JVMs to 1 in sbt to align with Maven surefire forkCount=1
1 parent 391ef4b commit e2f8810

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

project/CelebornBuild.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,8 @@ object CelebornBuild extends sbt.internal.BuildDef {
481481
}
482482

483483
// ThisBuild / parallelExecution := false
484+
// Align with Maven surefire forkCount=1: only one forked test JVM at a time
485+
Global / concurrentRestrictions += Tags.limit(Tags.ForkedTestProcess, 1)
484486

485487
// scalaVersion := "2.11.12"
486488

0 commit comments

Comments
 (0)