showuon commented on code in PR #12066: URL: https://github.com/apache/kafka/pull/12066#discussion_r854851467
########## clients/src/test/java/org/apache/kafka/clients/producer/internals/RecordAccumulatorTest.java: ########## @@ -98,6 +99,54 @@ public void teardown() { this.metrics.close(); } + @Test + @SuppressWarnings("unchecked") + public void testDrainBatchesStarve() throws Exception { Review Comment: I think we can change the test name to `testDrainBatches`, because we are now testing more scenarios. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org