lhotari commented on a change in pull request #14111:
URL: https://github.com/apache/pulsar/pull/14111#discussion_r798631893
##########
File path:
pulsar-testclient/src/test/java/org/apache/pulsar/testclient/PerformanceTransactionTest.java
##########
@@ -231,8 +231,15 @@ public void testConsumeTxnMessage() throws
InterruptedException, PulsarClientExc
Message<byte[]> message = consumer.receive(2, TimeUnit.SECONDS);
Assert.assertNotNull(message);
}
- Message<byte[]> message = consumer.receive(2, TimeUnit.SECONDS);
- Assert.assertNull(message);
+ for (int i = 0; i < 500; i++) {
Review comment:
It's a bit hard to understand this test and this change. why is this `i
< 500` when there previously wasn't a need to have this (when the test passed)?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]