Skip to content

Commit

Permalink
Merge pull request #3018 from chanikag/jsonPathFix
Browse files Browse the repository at this point in the history
Fix testMessageProcessorCronForwader intermittent failures
  • Loading branch information
chanikag authored Nov 7, 2023
2 parents 28dd9c3 + 0a863ce commit c5e5abf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public void testMessageProcessorCronForwader() throws Exception {
assertEquals(response4.getResponseCode(), 202, "ESB failed to send 202 even after setting FORCE_SC_ACCEPTED");

// WAIT FOR THE MESSAGE PROCESSOR TO TRIGGER
Thread.sleep(60000);
Awaitility.await().pollInterval(50, TimeUnit.MILLISECONDS).atMost(60, TimeUnit.SECONDS).until(isLogWritten());
assertTrue(carbonLogReader.checkForLog("Jack", 60, NUMBER_OF_MESSAGES));
}
Expand Down

0 comments on commit c5e5abf

Please sign in to comment.