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 2026/09/02 05:18:00 UTC

[jira] [Resolved] (RATIS-2218) Intermittent failure in TestMultiRaftGroup due to leak

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

Tsz-wo Sze resolved RATIS-2218.
-------------------------------
    Fix Version/s: 3.4.0
         Assignee: Shilun Fan
       Resolution: Fixed

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

> Intermittent failure in TestMultiRaftGroup due to leak
> ------------------------------------------------------
>
>                 Key: RATIS-2218
>                 URL: https://issues.apache.org/jira/browse/RATIS-2218
>             Project: Ratis
>          Issue Type: Bug
>          Components: test
>            Reporter: Attila Doroszlai
>            Assignee: Shilun Fan
>            Priority: Major
>             Fix For: 3.4.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> TestMultiRaftGroup intermittently fails due to leak:
> {code}
> Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 242.931 s <<< FAILURE! - in org.apache.ratis.TestMultiRaftGroup
> org.apache.ratis.TestMultiRaftGroup.testMultiRaftGroup(MiniRaftCluster)[1]  Time elapsed: 79.722 s  <<< ERROR!
> java.lang.IllegalStateException: #leaks = 1 > 0, #leaks == set.size = 1
> 	at org.apache.ratis.util.Preconditions.assertTrue(Preconditions.java:77)
> 	at org.apache.ratis.util.LeakDetector$LeakTrackerSet.assertNoLeaks(LeakDetector.java:100)
> 	at org.apache.ratis.util.LeakDetector$LeakTrackerSet.getNumLeaks(LeakDetector.java:94)
> 	at org.apache.ratis.util.LeakDetector.assertNoLeaks(LeakDetector.java:174)
> 	at org.apache.ratis.server.impl.MiniRaftCluster.shutdown(MiniRaftCluster.java:894)
> 	at org.apache.ratis.server.impl.GroupManagementBaseTest.runMultiGroupTest(GroupManagementBaseTest.java:341)
> 	at org.apache.ratis.TestMultiRaftGroup.runTestMultiRaftGroup(TestMultiRaftGroup.java:63)
> 	at org.apache.ratis.TestMultiRaftGroup.runTestMultiRaftGroup(TestMultiRaftGroup.java:49)
> 	at org.apache.ratis.TestMultiRaftGroup.testMultiRaftGroup(TestMultiRaftGroup.java:45)
> {code}



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