diff --git a/src/main/java/io/odh/test/utils/PodUtils.java b/src/main/java/io/odh/test/utils/PodUtils.java index cd0a6742..b4751fbe 100644 --- a/src/main/java/io/odh/test/utils/PodUtils.java +++ b/src/main/java/io/odh/test/utils/PodUtils.java @@ -32,8 +32,8 @@ public static void waitForPodsReady(String namespaceName, boolean containers, Ru TestConstants.GLOBAL_POLL_INTERVAL_MEDIUM, READINESS_TIMEOUT, () -> { List pods = ResourceManager.getClient().listPods(namespaceName); - if (pods.isEmpty()) { - LOGGER.debug("Expected Pods are ready"); + if (!pods.isEmpty()) { + LOGGER.debug("Expected Pods are not ready!"); return true; } for (Pod pod : pods) {