chia7712 commented on code in PR #12995:
URL: https://github.com/apache/kafka/pull/12995#discussion_r1704207974


##########
clients/src/test/java/org/apache/kafka/common/record/MemoryRecordsBuilderTest.java:
##########
@@ -728,35 +730,36 @@ public void 
shouldThrowIllegalStateExceptionOnAppendWhenAborted(Args args) {
     @ParameterizedTest
     @ArgumentsSource(MemoryRecordsBuilderArgumentsProvider.class)
     public void testBuffersDereferencedOnClose(Args args) {

Review Comment:
   This test case fails frequently. It seems to me it tries to verify the 
reference to buffer gets released. Hence, maybe we can check the `appendStream` 
instead of calling GC?



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