Skip to content

Commit

Permalink
[fix][flaky-test] Delete assert availablePermits on testmulitiConsume…
Browse files Browse the repository at this point in the history
…rImpl (apache#16880)
  • Loading branch information
shibd authored Aug 1, 2022
1 parent d1ac58f commit cb30582
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ public void testMultiConsumerImpl() throws Exception {
Assert.assertEquals(c.getCurrentReceiverQueueSize(), 5);
}
Awaitility.await().untilAsserted(() -> {
Assert.assertEquals(consumer.getAvailablePermits(), 0);
Assert.assertTrue(consumer.getTotalIncomingMessages() >= 5);
Assert.assertTrue(consumer.getTotalIncomingMessages() < 30);
});
Expand Down

0 comments on commit cb30582

Please sign in to comment.