Chia-Ping Tsai created KAFKA-17265:
--------------------------------------
Summary: 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
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)