Skip to content

Commit

Permalink
Merge pull request #20129 from geoand/qit-wait-time
Browse files Browse the repository at this point in the history
Take configured wait time into account in @QuarkusIntegrationTest for log file check
  • Loading branch information
geoand authored Sep 14, 2021
2 parents 8d1254d + e1bb4f2 commit 7a1c973
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ public void run() {
}

private boolean ensureProcessOutputFileExists() {
int i = 0;
while (i++ < 50) {
long bailoutTime = System.currentTimeMillis() + waitTime.toMillis();
while (System.currentTimeMillis() < bailoutTime) {
if (Files.exists(processOutput)) {
return true;
} else {
Expand Down

0 comments on commit 7a1c973

Please sign in to comment.