Skip to content

Commit 78752f8

Browse files
committed
Fix tests
1 parent 5a9c6c7 commit 78752f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,9 @@ class SparkSubmitSuite extends FunSuite with Matchers {
195195
childArgsStr should include regex ("launch spark://h:p .*thejar.jar org.SomeClass arg1 arg2")
196196
mainClass should be ("org.apache.spark.deploy.Client")
197197
classpath should have size (0)
198-
sysProps should have size (2)
198+
sysProps should have size (4)
199+
sysProps.keys should contain ("spark.master")
200+
sysProps.keys should contain ("spark.app.name")
199201
sysProps.keys should contain ("spark.jars")
200202
sysProps.keys should contain ("SPARK_SUBMIT")
201203
}

0 commit comments

Comments
 (0)