Github user liyinan926 commented on a diff in the pull request:
https://github.com/apache/spark/pull/19717#discussion_r156176301
--- Diff: core/src/test/scala/org/apache/spark/util/UtilsSuite.scala ---
@@ -1146,6 +1146,27 @@ class UtilsSuite extends SparkFunSuite with
ResetSystemProperties with Logging {
}
}
+ test("check Kubernetes master URL") {
+ val k8sMasterURLHttps =
Utils.checkAndGetK8sMasterUrl("k8s://https://host:port")
+ assert(k8sMasterURLHttps == "k8s:https://host:port")
--- End diff --
Done.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]