Skip to content

Commit

Permalink
[fix][test] Fix flaky AdminApiMaxUnackedMessagesTest.testMaxUnackedMe…
Browse files Browse the repository at this point in the history
…ssagesPerConsumerPriority (apache#21335)
  • Loading branch information
lhotari authored Oct 10, 2023
1 parent 9449ae4 commit c35524d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public void testMaxUnackedMessagesPerConsumerPriority() throws Exception {
private List<Message> consumeMsg(Consumer<?> consumer, int msgNum) throws Exception {
List<Message> list = new ArrayList<>();
for (int i = 0; i <msgNum; i++) {
Message message = consumer.receive(500, TimeUnit.MILLISECONDS);
Message message = consumer.receive(1500, TimeUnit.MILLISECONDS);
if (message == null) {
break;
}
Expand Down

0 comments on commit c35524d

Please sign in to comment.