Skip to content
This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Commit 9a6884e

Browse files
committed
Invert the requirement check
1 parent ace4218 commit 9a6884e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ private[spark] class KubernetesSuiteDockerManager(
148148
Eventually.eventually(KubernetesSuite.TIMEOUT, KubernetesSuite.INTERVAL) {
149149
val runningContainersWithImageTag = stopRunningContainers()
150150
require(
151-
runningContainersWithImageTag.nonEmpty,
151+
runningContainersWithImageTag.isEmpty,
152152
s"${runningContainersWithImageTag.size} containers found still running" +
153153
s" with the image tag $dockerTag")
154154
}

0 commit comments

Comments
 (0)