Skip to content

Commit

Permalink
Take configured wait time into account in @QuarkusIntegrationTest for…
Browse files Browse the repository at this point in the history
… log file check

Relates to: quarkusio#17767 (comment)
  • Loading branch information
geoand committed Sep 14, 2021
1 parent 91d96c7 commit e1bb4f2
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 e1bb4f2

Please sign in to comment.