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 2023/03/22 00:23:00 UTC
[jira] [Resolved] (RATIS-1662) Intermittent failure in testEnforceLeader
[ https://issues.apache.org/jira/browse/RATIS-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz-wo Sze resolved RATIS-1662.
-------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
The pull request is now merged. Thanks, [~ckj]!
> Intermittent failure in testEnforceLeader
> -----------------------------------------
>
> Key: RATIS-1662
> URL: https://issues.apache.org/jira/browse/RATIS-1662
> Project: Ratis
> Issue Type: Bug
> Components: test
> Reporter: Attila Doroszlai
> Assignee: Kaijie Chen
> Priority: Major
> Fix For: 3.0.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {code}
> Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 41.327 s <<< FAILURE! - in org.apache.ratis.server.simulation.TestLeaderElectionWithSimulatedRpc
> testEnforceLeader(org.apache.ratis.server.simulation.TestLeaderElectionWithSimulatedRpc) Time elapsed: 10.991 s <<< FAILURE!
> org.junit.ComparisonFailure: expected:<s[3]> but was:<s[0]>
> at org.junit.Assert.assertEquals(Assert.java:117)
> at org.junit.Assert.assertEquals(Assert.java:146)
> at org.apache.ratis.server.impl.LeaderElectionTests.enforceLeader(LeaderElectionTests.java:249)
> at org.apache.ratis.server.impl.LeaderElectionTests.testEnforceLeader(LeaderElectionTests.java:235)
> {code}
> * https://github.com/adoroszlai/ratis-build-results/blob/master/2022/05/09/1235/unit-server/ratis-test/org.apache.ratis.server.simulation.TestLeaderElectionWithSimulatedRpc.txt
> * https://github.com/adoroszlai/ratis-build-results/blob/master/2022/06/20/1328/unit-server/ratis-test/org.apache.ratis.server.simulation.TestLeaderElectionWithSimulatedRpc.txt
> * https://github.com/adoroszlai/ratis-build-results/blob/master/2022/07/14/1432/unit-server/ratis-test/org.apache.ratis.server.simulation.TestLeaderElectionWithSimulatedRpc.txt
> * https://github.com/adoroszlai/ratis-build-results/blob/master/2022/07/21/1484/unit-server/ratis-test/org.apache.ratis.server.simulation.TestLeaderElectionWithSimulatedRpc.txt
--
This message was sent by Atlassian Jira
(v8.20.10#820010)