Description
// with LocalCluster, we have masters and workers in the same JVM, each overwriting // system property spark.ui.proxyBase. // so we need to manage this property explicitly for test System.getProperty("spark.ui.proxyBase") should startWith (s"$reverseProxyUrl/proxy/worker-") // Line 425
Line 425 in MasterSuite is considered as unused expression, If we merge lines 424 and 425 into one:
System.getProperty("spark.ui.proxyBase") should startWith (s"$reverseProxyUrl/proxy/worker-")
this assertion will fail:
- master/worker web ui available behind front-end reverseProxy *** FAILED ***
The code passed to eventually never returned normally. Attempted 45 times over 5.091914027 seconds. Last failure message: "http://proxyhost:8080/path/to/spark" did not start with substring "http://proxyhost:8080/path/to/spark/proxy/worker-". (MasterSuite.scala:405)