yaooqinn commented on a change in pull request #32979:
URL: https://github.com/apache/spark/pull/32979#discussion_r654872681



##########
File path: 
resource-managers/kubernetes/core/src/test/scala/org/apache/spark/scheduler/cluster/k8s/ExecutorPodsAllocatorSuite.scala
##########
@@ -655,7 +656,9 @@ class ExecutorPodsAllocatorSuite extends SparkFunSuite with 
BeforeAndAfter {
 
   test("print the pod name instead of Some(name) if pod is absent") {
     val nonexistentPod = "i-do-not-exist"
-    val conf = new SparkConf().set(KUBERNETES_DRIVER_POD_NAME, nonexistentPod)
+    val conf = new SparkConf()
+      .set(KUBERNETES_DRIVER_POD_NAME, nonexistentPod)
+      .set(KUBERNETES_DRIVER_SUBMIT_CHECK, true)

Review comment:
       It's not a regression. We only need to do this unit test. 
KUBERNETES_DRIVER_SUBMIT_CHECK is an internal one and should be set by Spark 
only




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to