Github user krcz commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20641#discussion_r175863304
  
    --- Diff: 
resource-managers/mesos/src/test/scala/org/apache/spark/scheduler/cluster/mesos/MesosClusterSchedulerSuite.scala
 ---
    @@ -199,6 +199,38 @@ class MesosClusterSchedulerSuite extends SparkFunSuite 
with LocalSparkContext wi
         })
       }
     
    +  test("properly wraps and escapes parameters passed to driver command") {
    --- End diff --
    
    It does.
    
    ```
    [info] - properly wraps and escapes parameters passed to driver command *** 
FAILED *** (154 milliseconds)
    [info]   "test/./bin/spark-submit --name test --master 
mesos://mesos://localhost:5050 --driver-cores 1.0 --driver-memory 1000M --class 
mainClass --conf "spark.app.name=test" --conf "spark.mesos.executor.home=tes
    t" --conf "spark.executor.extraJavaOptions="-Dparam1=\"value 1\" 
-Dparam2=value\\ 2 -Dpath=\$PATH"" --conf 
"spark.driver.extraJavaOptions="-XX+PrintGC -Dparam1=val1 -Dparam2=val2"" ./jar 
arg" did not contain "--
    conf spark.driver.extraJavaOptions="-XX+PrintGC -Dparam1=val1 
-Dparam2=val2"" (MesosClusterSchedulerSuite.scala:227)
    [info]   org.scalatest.exceptions.TestFailedException:
    [info]   at 
org.scalatest.Assertions$class.newAssertionFailedException(Assertions.scala:528)
    [info]   at 
org.scalatest.FunSuite.newAssertionFailedException(FunSuite.scala:1560)
    [info]   at 
org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:501)
    [info]   at 
org.apache.spark.scheduler.cluster.mesos.MesosClusterSchedulerSuite$$anonfun$16.apply(MesosClusterSchedulerSuite.scala:227)
    [info]   at 
org.apache.spark.scheduler.cluster.mesos.MesosClusterSchedulerSuite$$anonfun$16.apply(MesosClusterSchedulerSuite.scala:202)
    ```


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to