dongjoon-hyun commented on a change in pull request #32948:
URL: https://github.com/apache/spark/pull/32948#discussion_r654019282
##########
File path: core/src/test/scala/org/apache/spark/deploy/SparkSubmitSuite.scala
##########
@@ -482,7 +482,7 @@ class SparkSubmitSuite
val (childArgs, classpath, conf, mainClass) =
submit.prepareSubmitEnvironment(appArgs)
val childArgsMap = childArgs.grouped(2).map(a => a(0) -> a(1)).toMap
- childArgsMap.get("--primary-java-resource") should be
(Some("file:/home/thejar.jar"))
+ childArgsMap.get("--primary-java-resource").get should endWith
("file:/home/thejar.jar")
Review comment:
Like @srowen mentioned, this PR fails still.
```
[info] - handles k8s cluster mode *** FAILED *** (534 milliseconds)
[info] "file:/System/Volumes/Data/home/thejar.jar" did not end with
substring "file:/home/thejar.jar" (SparkSubmitSuite.scala:485)
```
##########
File path: core/src/test/scala/org/apache/spark/deploy/SparkSubmitSuite.scala
##########
@@ -482,7 +482,7 @@ class SparkSubmitSuite
val (childArgs, classpath, conf, mainClass) =
submit.prepareSubmitEnvironment(appArgs)
val childArgsMap = childArgs.grouped(2).map(a => a(0) -> a(1)).toMap
- childArgsMap.get("--primary-java-resource") should be
(Some("file:/home/thejar.jar"))
+ childArgsMap.get("--primary-java-resource").get should endWith
("file:/home/thejar.jar")
Review comment:
@toujours33 . You may want to try this.
```scala
childArgsMap.get("--primary-java-resource").get should endWith
("/home/thejar.jar")
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]