Skip to content

Commit 7313374

Browse files
author
Sun Rui
committed
Fix unit test errors.
1 parent 72695fb commit 7313374

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ class SparkSubmitSuite
246246
mainClass should be ("org.apache.spark.deploy.Client")
247247
}
248248
classpath should have size 0
249-
sysProps should have size 8
249+
sysProps should have size 9
250250
sysProps.keys should contain ("SPARK_SUBMIT")
251251
sysProps.keys should contain ("spark.master")
252252
sysProps.keys should contain ("spark.app.name")
@@ -255,6 +255,7 @@ class SparkSubmitSuite
255255
sysProps.keys should contain ("spark.driver.cores")
256256
sysProps.keys should contain ("spark.driver.supervise")
257257
sysProps.keys should contain ("spark.shuffle.spill")
258+
sysProps.keys should contain ("spark.submit.deployMode")
258259
sysProps("spark.shuffle.spill") should be ("false")
259260
}
260261

0 commit comments

Comments
 (0)