Skip to content

Commit d448a26

Browse files
committed
Dont' close the watcher until the end of the test
1 parent e72a2f5 commit d448a26

File tree

1 file changed

+1
-1
lines changed
  • resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest

1 file changed

+1
-1
lines changed

resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/KubernetesSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,6 @@ class KubernetesSuite extends SparkFunSuite
382382
Eventually.eventually(TIMEOUT, patienceInterval) {
383383
execPods.values.nonEmpty should be (true)
384384
}
385-
execWatcher.close()
386385
execPods.values.foreach(executorPodChecker(_))
387386
Eventually.eventually(patienceTimeout, patienceInterval) {
388387
expectedLogOnCompletion.foreach { e =>
@@ -394,6 +393,7 @@ class KubernetesSuite extends SparkFunSuite
394393
s"The application did not complete, did not find str ${e}")
395394
}
396395
}
396+
execWatcher.close()
397397
}
398398

399399
protected def doBasicDriverPodCheck(driverPod: Pod): Unit = {

0 commit comments

Comments
 (0)