Github user devaraj-kavali commented on the pull request:

    https://github.com/apache/spark/pull/11133#issuecomment-187098980
  
    It is not giving clear details about the failure and exiting with the exit 
code 1 is because of ***System.exit(1)***. I think we can skip this 
***System.exit(1)*** while running tests to avoid the termination of jvm for 
these kind of exceptions and show them as test failures. 
    
    ```javascript
        try {
          serverInfo = Some(startJettyServer(publicHostName, port, sslOptions, 
handlers, conf, name))
          logInfo("Started %s at http://%s:%d".format(className, 
publicHostName, boundPort))
        } catch {
          case e: Exception =>
            logError("Failed to bind %s".format(className), e)
            System.exit(1)
        }
    
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to