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/06/04 11:09:00 UTC

[jira] [Created] (RATIS-2108) testLeaderLeaseDuringReconfiguration may fail with IllegalStateException: allLeaks.size = 1

Tsz-wo Sze created RATIS-2108:
---------------------------------

             Summary: 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


{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)