Skip to content

Commit

Permalink
fix #4681: adding a wait for the list test
Browse files Browse the repository at this point in the history
  • Loading branch information
shawkins authored and manusa committed Mar 21, 2023
1 parent 4353107 commit 2c3d024
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2c3d024

Please sign in to comment.