Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
Fixed issue where pods are not detected as ready (#5208)
Browse files Browse the repository at this point in the history
  • Loading branch information
robshelly authored and lulf committed Oct 23, 2020
1 parent cd1fb8a commit 0a91691
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ public static void waitUntilDeployed(String namespace, List<String> expectedPods
}
}
log.info("All current ReplicaSets are ready");
List<Pod> pods = Kubernetes.getInstance().listPods(namespace, Collections.singletonMap("app", "enmasse"));
List<Pod> pods = Kubernetes.getInstance().listPods(namespace);
for (String expectedPod : expectedPods) {
if (pods.stream().noneMatch(pod -> pod.getMetadata().getName().contains(expectedPod))) {
log.info("Pod {} is still not deployed", expectedPod);
Expand Down

0 comments on commit 0a91691

Please sign in to comment.