Skip to content

Commit

Permalink
Fix readiness for all pods in ns
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Stejskal <[email protected]>
  • Loading branch information
Frawless committed Jan 12, 2024
1 parent d9b76f5 commit 0e6d5b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/odh/test/utils/PodUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public static void waitForPodsReady(String namespaceName, boolean containers, Ru
TestConstants.GLOBAL_POLL_INTERVAL_MEDIUM, READINESS_TIMEOUT,
() -> {
List<Pod> 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) {
Expand Down

0 comments on commit 0e6d5b1

Please sign in to comment.