You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2023/04/27 17:34:00 UTC

[jira] [Updated] (RATIS-1662) Intermittent failure in testEnforceLeader

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

Attila Doroszlai updated RATIS-1662:
------------------------------------
    Fix Version/s: 2.5.0

> 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, 2.5.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)