Skip to content

Commit

Permalink
fix: undo integrationtest update
Browse files Browse the repository at this point in the history
  • Loading branch information
EddeCCC committed Nov 5, 2024
1 parent 2b234e9 commit 9612534
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,15 +264,16 @@ protected void awaitConfigurationUpdate() {
* logs. First the method counts the current amount of update messages. If the amount of update
* messages has increased, we assume an event has occurred.
*
* @param updateMessage the message, which will be waited for
* @param updateMessage the message to wait for
* @param amount the amount of new messages to wait for
*/
private void awaitUpdateMessage(String updateMessage, int amount) {
String logs = target.getLogs();
int updateCount = countTimes(logs, updateMessage);

Awaitility.await()
.pollDelay(5, TimeUnit.SECONDS)
.atMost(12, TimeUnit.SECONDS)
.atMost(15, TimeUnit.SECONDS)
.until(
() -> {
String newLogs = target.getLogs();
Expand Down

0 comments on commit 9612534

Please sign in to comment.