Skip to content

Commit

Permalink
Do not use timed receive in BrokerClientIntegrationTest.testUnsupport…
Browse files Browse the repository at this point in the history
…edBatchMessageConsumer (apache#5333)
  • Loading branch information
merlimat authored Feb 11, 2020
1 parent 6eb7484 commit 83799f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ public void testUnsupportedBatchMessageConsumer(SubscriptionType subType) throws

messageSet.clear();
for (int i = 0; i < numMessagesPerBatch; i++) {
msg = consumer2.receive(1, TimeUnit.SECONDS);
msg = consumer2.receive();
String receivedMessage = new String(msg.getData());
log.debug("Received message: [{}]", receivedMessage);
String expectedMessage = "my-batch-message-" + i;
Expand Down

0 comments on commit 83799f8

Please sign in to comment.