[
https://issues.apache.org/jira/browse/RATIS-2108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17852014#comment-17852014
]
Tsz-wo Sze commented on RATIS-2108:
-----------------------------------
[~duongnguyen], this one also has IllegalStateException: allLeaks.size = 1
> testLeaderLeaseDuringReconfiguration may fail with IllegalStateException:
> allLeaks.size = 1
> -------------------------------------------------------------------------------------------
>
> Key: RATIS-2108
> URL: https://issues.apache.org/jira/browse/RATIS-2108
> Project: Ratis
> Issue Type: Bug
> Reporter: Tsz-wo Sze
> Priority: Major
>
> {code}
> [ERROR] Tests run: 24, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> 129.575 s <<< FAILURE! - in org.apache.ratis.grpc.TestLeaderElectionWithGrpc
> [ERROR]
> org.apache.ratis.grpc.TestLeaderElectionWithGrpc.testLeaderLeaseDuringReconfiguration
> Time elapsed: 10.856 s <<< ERROR!
> java.lang.IllegalStateException: allLeaks.size = 1
> at org.apache.ratis.util.Preconditions.assertTrue(Preconditions.java:77)
> at
> org.apache.ratis.util.LeakDetector.assertNoLeaks(LeakDetector.java:107)
> at
> org.apache.ratis.server.impl.MiniRaftCluster.shutdown(MiniRaftCluster.java:869)
> at
> org.apache.ratis.grpc.MiniRaftClusterWithGrpc.shutdown(MiniRaftClusterWithGrpc.java:93)
> at
> org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:149)
> at
> org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:121)
> at
> org.apache.ratis.server.impl.LeaderElectionTests.testLeaderLeaseDuringReconfiguration(LeaderElectionTests.java:675)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at java.util.ArrayList.forEach(ArrayList.java:1259)
> at java.util.ArrayList.forEach(ArrayList.java:1259)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)