Skip to content

Commit

Permalink
Fix race condition in external port check (#4597)
Browse files Browse the repository at this point in the history
Makes Awaitility ignore exception (which are expected to occur) during checking external ports.
  • Loading branch information
kiview committed Oct 22, 2021
1 parent a541886 commit e257bac
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ protected void waitUntilReady() {
.pollInSameThread()
.pollInterval(Duration.ofMillis(100))
.pollDelay(Duration.ZERO)
.ignoreExceptions()
.forever()
.until(externalCheck);

Expand Down

0 comments on commit e257bac

Please sign in to comment.