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

    https://github.com/apache/spark/pull/22805#discussion_r227554814
  
    --- Diff: 
resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/ProcessUtils.scala
 ---
    @@ -40,7 +40,8 @@ object ProcessUtils extends Logging {
           })
         assert(proc.waitFor(timeout, TimeUnit.SECONDS),
           s"Timed out while executing ${fullCommand.mkString(" ")}")
    -    assert(proc.exitValue == 0, s"Failed to execute 
${fullCommand.mkString(" ")}")
    +    assert(proc.exitValue == 0,
    +      s"Failed to execute ${fullCommand.mkString(" ")}${if (dumpErrors) 
outputLines.mkString("\n")}")
    --- End diff --
    
    Should add a `\n` before the first line of the error output.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to