Skip to content

Commit 512d782

Browse files
committed
Set spark.ui.port=0 in Maven scalatest config to match SBT build and avoid SparkSubmitSuite failure due to port conflict
1 parent 092e2f1 commit 512d782

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@
888888
<plugin>
889889
<groupId>org.scalatest</groupId>
890890
<artifactId>scalatest-maven-plugin</artifactId>
891-
<version>1.0-RC2</version>
891+
<version>1.0</version>
892892
<configuration>
893893
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
894894
<junitxml>.</junitxml>
@@ -899,6 +899,7 @@
899899
<java.awt.headless>true</java.awt.headless>
900900
<spark.test.home>${session.executionRootDirectory}</spark.test.home>
901901
<spark.testing>1</spark.testing>
902+
<spark.ui.port>0</spark.ui.port>
902903
</systemProperties>
903904
</configuration>
904905
<executions>

0 commit comments

Comments
 (0)