[
https://issues.apache.org/jira/browse/RATIS-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai resolved RATIS-2223.
-------------------------------------
Resolution: Cannot Reproduce
10x10 run passed, probably fixed by RATIS-2227 or RATIS-2184.
> Failed to close extension context in TestArithmetic
> ---------------------------------------------------
>
> Key: RATIS-2223
> URL: https://issues.apache.org/jira/browse/RATIS-2223
> Project: Ratis
> Issue Type: Bug
> Components: test
> Reporter: Attila Doroszlai
> Priority: Major
>
> {code}
> Tests run: 6, Failures: 0, Errors: 1, Skipped: 3, Time elapsed: 71.533 s <<<
> FAILURE! - in org.apache.ratis.examples.arithmetic.TestArithmetic
> org.apache.ratis.examples.arithmetic.TestArithmetic.testPythagorean(MiniRaftCluster)[3]
> Time elapsed: 33.62 s <<< ERROR!
> org.junit.platform.commons.JUnitException: Failed to close extension context
> ...
> Caused by: 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:178)
> at
> org.apache.ratis.server.impl.MiniRaftCluster.shutdown(MiniRaftCluster.java:894)
> at
> org.apache.ratis.server.impl.MiniRaftCluster.close(MiniRaftCluster.java:843)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)