muralibasani commented on code in PR #22347:
URL: https://github.com/apache/kafka/pull/22347#discussion_r3288960453


##########
storage/src/test/java/org/apache/kafka/tiered/storage/integration/TransactionsTestHelper.java:
##########
@@ -923,7 +923,9 @@ public static void testFailureToFenceEpoch(
         long producerId;
         int initialProducerEpoch;
 
-        try (var producer1 = createTransactionalProducer(clusterInstance, 
"transactional-producer")) {

Review Comment:
   How about producer1.close(duration 5 secs) in finally ? This will force a 
hard close after the time out, instead of waiting for pending reqs. 



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