Icewind52 commented on code in PR #24338:
URL: https://github.com/apache/kafka/pull/24338#discussion_r4664409410


##########
clients/src/test/java/org/apache/kafka/clients/producer/internals/SenderTest.java:
##########
@@ -3023,6 +3023,60 @@ public void testIncompleteTransactionAbortOnShutdown() {
         }
     }
 
+    @Test
+    public void testEmptyTransactionAbortOnShutdownDoesNotBlock() {

Review Comment:
   nit: `testEmptyTransactionAbortOnShutdownDoesNotBlock` and 
`testEmptyTransactionCommitBeforeShutdownDoesNotBlock` are nearly identical; 
the only difference is whether beginCommit() is called before initiateClose(). 
Could we fold them into a single parameterized test?



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