Skip to content

Commit

Permalink
add wait on ISR
Browse files Browse the repository at this point in the history
  • Loading branch information
mumrah committed Sep 6, 2024
1 parent 0358527 commit 2af2478
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,9 @@ class ZkMigrationIntegrationTest {
false
} else {
topicDescribe.topicNameValues().values().stream().allMatch {
topic => topic.get(32, TimeUnit.SECONDS).partitions().stream().allMatch(part => part.leader() != null)
topic => topic.get(62, TimeUnit.SECONDS).partitions().stream().allMatch(part => {
part.leader() != null && part.isr().size() == 3
})
}
}
}, msg="waiting for topics to be available", waitTimeMs=303000)
Expand Down

0 comments on commit 2af2478

Please sign in to comment.