File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
main/scala/org/apache/spark/ui
test/scala/org/apache/spark Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ private[spark] class SparkUI(
117117 */
118118 private [spark] def appUIHostPort = publicHost + " :" + boundPort
119119
120- private [spark] def appUIAddress = s " http://appUIHostPort "
120+ private [spark] def appUIAddress = s " http:// $ appUIHostPort"
121121
122122}
123123
Original file line number Diff line number Diff line change @@ -30,6 +30,6 @@ class SparkUISuite extends FunSuite with SharedSparkContext {
3030
3131 test(" verify appUIAddress contains the scheme" ) {
3232 val appUIUri = new URI (sc.ui.appUIAddress)
33- assert(appUIUri.getScheme ().startsWith (" http" ))
33+ assert(appUIUri.toString ().equals (" http:// " + sc.ui.appUIHostPort ))
3434 }
3535}
You can’t perform that action at this time.
0 commit comments