diff --git a/kubernetes-itests/src/test/java/io/fabric8/openshift/ImageStreamTagIT.java b/kubernetes-itests/src/test/java/io/fabric8/openshift/ImageStreamTagIT.java index 3150b68dc9f..7b2590024c6 100644 --- a/kubernetes-itests/src/test/java/io/fabric8/openshift/ImageStreamTagIT.java +++ b/kubernetes-itests/src/test/java/io/fabric8/openshift/ImageStreamTagIT.java @@ -62,7 +62,9 @@ void get() { @Test void list() { - + client.imageStreams().withName("list").waitUntilCondition(is -> is != null && is.getStatus() != null && + is.getStatus().getTags().stream().anyMatch(nt -> nt.getTag().equals("1.0.12")), + 30, TimeUnit.SECONDS); ImageStreamTagList istagList = client.imageStreamTags().list(); assertNotNull(istagList);