You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2024/11/22 17:34:00 UTC

[jira] [Resolved] (RATIS-2191) Add ResourceLeakDetector to Netty tests

     [ https://issues.apache.org/jira/browse/RATIS-2191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz-wo Sze resolved RATIS-2191.
-------------------------------
    Fix Version/s: 3.2.0
       Resolution: Fixed

The pull request is now merged.  Thanks, [~ivanandika]!

> Add ResourceLeakDetector to Netty tests
> ---------------------------------------
>
>                 Key: RATIS-2191
>                 URL: https://issues.apache.org/jira/browse/RATIS-2191
>             Project: Ratis
>          Issue Type: Improvement
>          Components: Netty, test
>            Reporter: Ivan Andika
>            Assignee: Ivan Andika
>            Priority: Minor
>             Fix For: 3.2.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Similar to LeakDetector#assertNoLeaks in MiniRaftCluster, we can also add the Netty leak detector in tests as specified in [https://netty.io/wiki/reference-counted-objects.html#wiki-h2-9] to ensure that all ByteBuf are released.



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