Technoboy- commented on code in PR #21008:
URL: https://github.com/apache/pulsar/pull/21008#discussion_r1298176220


##########
pulsar-broker/src/test/java/org/apache/pulsar/client/impl/TransactionEndToEndTest.java:
##########
@@ -529,7 +529,7 @@ protected void txnAckTest(boolean batchEnable, int 
maxBatchSize,
             // after transaction abort, the messages could be received
             Transaction commitTxn = getTxn();
             for (int i = 0; i < messageCnt; i++) {
-                message = consumer.receive(2, TimeUnit.SECONDS);
+                message = consumer.receive();

Review Comment:
   If the network is not good, here will fail. so no need to add timeout for 
this.
   
https://github.com/apache/pulsar/actions/runs/5899745435/job/16003227755?pr=21008



-- 
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]

Reply via email to