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 2026/08/31 23:46:00 UTC

[jira] [Resolved] (RATIS-2262) Intermittent failure in TestRaftWithSimulatedRpc.testStateMachineMetrics

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

Tsz-wo Sze resolved RATIS-2262.
-------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

The pull request is now merged.  Thanks, [~slfan1989] !

> Intermittent failure in TestRaftWithSimulatedRpc.testStateMachineMetrics
> ------------------------------------------------------------------------
>
>                 Key: RATIS-2262
>                 URL: https://issues.apache.org/jira/browse/RATIS-2262
>             Project: Ratis
>          Issue Type: Test
>          Components: test
>            Reporter: Attila Doroszlai
>            Assignee: Shilun Fan
>            Priority: Major
>             Fix For: 3.4.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> {code}
> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 65.154 s <<< FAILURE! - in org.apache.ratis.server.simulation.TestRaftWithSimulatedRpc
> org.apache.ratis.server.simulation.TestRaftWithSimulatedRpc.testStateMachineMetrics  Time elapsed: 2.16 s  <<< FAILURE!
> org.opentest4j.AssertionFailedError: StateMachine Applied Index not incremented ==> expected: <true> but was: <false>
> 	at org.apache.ratis.RaftBasicTests.runTestStateMachineMetrics(RaftBasicTests.java:479)
> 	at org.apache.ratis.RaftBasicTests.lambda$testStateMachineMetrics$13(RaftBasicTests.java:453)
> 	at org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:144)
> 	at org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:121)
> 	at org.apache.ratis.RaftBasicTests.testStateMachineMetrics(RaftBasicTests.java:453)
> {code}
> Failed in 3/100 runs:
> https://github.com/adoroszlai/ratis/actions/runs/13901802991



--
This message was sent by Atlassian Jira
(v8.20.10#820010)