Skip to content

Commit

Permalink
Use a random UI port during tests
Browse files Browse the repository at this point in the history
so as to avoid all the conflicts there are.
  • Loading branch information
andrewor14 committed Aug 6, 2014
1 parent 7da0493 commit 8a6b820
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions project/SparkBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ object TestSettings {
javaOptions in Test += "-Dspark.test.home=" + sparkHome,
javaOptions in Test += "-Dspark.testing=1",
javaOptions in Test += "-Dspark.ports.maxRetries=100",
javaOptions in Test += "-Dspark.ui.port=0",
javaOptions in Test += "-Dsun.io.serialization.extendedDebugInfo=true",
javaOptions in Test ++= System.getProperties.filter(_._1 startsWith "spark")
.map { case (k,v) => s"-D$k=$v" }.toSeq,
Expand Down

0 comments on commit 8a6b820

Please sign in to comment.