[ https://issues.apache.org/jira/browse/SPARK-3431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14143835#comment-14143835 ]
Sean Owen commented on SPARK-3431: ---------------------------------- For your experiments, scalatest just copies an old subset of surefire's config: http://www.scalatest.org/user_guide/using_the_scalatest_maven_plugin vs http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html You can see discussion of how forkMode works: http://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html Bad news is that scalatest's support is much more limited, but parallel=true and forkMode=once might do the trick. Otherwise... I guess we can figure out if it's realistic to use standard surefire instead of scalatest. > Parallelize execution of tests > ------------------------------ > > Key: SPARK-3431 > URL: https://issues.apache.org/jira/browse/SPARK-3431 > Project: Spark > Issue Type: Improvement > Components: Build > Reporter: Nicholas Chammas > > Running all the tests in {{dev/run-tests}} takes up to 2 hours. A common > strategy to cut test time down is to parallelize the execution of the tests. > Doing that may in turn require some prerequisite changes to be made to how > certain tests run. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org