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

    https://github.com/apache/spark/pull/21514#discussion_r202991814
  
    --- Diff: 
core/src/test/scala/org/apache/spark/deploy/master/MasterSuite.scala ---
    @@ -282,6 +282,40 @@ class MasterSuite extends SparkFunSuite
         }
       }
     
    +  test("SPARK-24621: https urls when ssl enabled") {
    +    implicit val formats = org.json4s.DefaultFormats
    +    val conf = new SparkConf()
    +    conf.set("spark.ssl.enabled", "true")
    +    val localCluster = new LocalSparkCluster(2, 2, 512, conf)
    +    localCluster.start()
    +    try {
    +      eventually(timeout(5 seconds), interval(100 milliseconds)) {
    +        val json = 
Source.fromURL(s"https://localhost:${localCluster.masterWebUIPort}/json";)
    +          .getLines().mkString("\n")
    +        assert(json.contains('<a href="https://'))
    --- End diff --
    
    `"` instead of `'`


---

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

Reply via email to