[
https://issues.apache.org/jira/browse/KAFKA-17265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai resolved KAFKA-17265.
------------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
> 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: Kuan Po Tseng
> Priority: Minor
> Fix For: 4.0.0
>
>
> 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)