Skip to content

Commit b78422a

Browse files
JoshRosenAndrew Or
authored andcommitted
[HOTFIX] Disable Spark UI in SparkSubmitSuite tests
This should fix a major cause of build breaks when running many parallel tests.
1 parent b1c1d86 commit b78422a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/test/scala/org/apache/spark/deploy/SparkSubmitSuite.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ class SparkSubmitSuite extends FunSuite with ShouldMatchers with ResetSystemProp
260260
"--class", SimpleApplicationTest.getClass.getName.stripSuffix("$"),
261261
"--name", "testApp",
262262
"--master", "local",
263+
"--conf", "spark.ui.enabled=false",
263264
unusedJar.toString)
264265
runSparkSubmit(args)
265266
}
@@ -274,6 +275,7 @@ class SparkSubmitSuite extends FunSuite with ShouldMatchers with ResetSystemProp
274275
"--name", "testApp",
275276
"--master", "local-cluster[2,1,512]",
276277
"--jars", jarsString,
278+
"--conf", "spark.ui.enabled=false",
277279
unusedJar.toString)
278280
runSparkSubmit(args)
279281
}

0 commit comments

Comments
 (0)