Skip to content

Commit

Permalink
NO-JIRA fix intermittent failure, this test failed on local repeat ge…
Browse files Browse the repository at this point in the history
…tting a null from immediate
  • Loading branch information
gtully authored and clebertsuconic committed May 12, 2024
1 parent e78136b commit 23522fd
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@ public void testSlowConsumerSparedAfterBurst() throws Exception {
ClientConsumer consumer = addClientConsumer(session.createConsumer(QUEUE));
session.start();

Queue queue = server.locateQueue(QUEUE);
Wait.assertTrue(() -> queue.getDeliveringCount() >= 3 * threshold);

for (int i = 0; i < 3 * threshold; i++) {
consumer.receiveImmediate().individualAcknowledge();
}
Expand Down

0 comments on commit 23522fd

Please sign in to comment.