You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Kuan Po Tseng (Jira)" <ji...@apache.org> on 2024/08/06 01:36:00 UTC

[jira] [Commented] (KAFKA-17265) Fix flaky MemoryRecordsBuilderTest#testBuffersDereferencedOnClose

    [ https://issues.apache.org/jira/browse/KAFKA-17265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17871194#comment-17871194 ] 

Kuan Po Tseng commented on KAFKA-17265:
---------------------------------------

Hi [~chia7712] , could I take over this issue if you are not working on this one ? Thank you !

> Fix flaky MemoryRecordsBuilderTest#testBuffersDereferencedOnClose
> -----------------------------------------------------------------
>
>                 Key: KAFKA-17265
>                 URL: https://issues.apache.org/jira/browse/KAFKA-17265
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Minor
>
> The test depends on GC to verify the memory usage. However, that is unstable. All we want to prove is that the inner "object" will drop the reference. Hence, we should rewrite the test to check the reference of inner object instead of calling GC.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)