You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Lokesh Jain (Jira)" <ji...@apache.org> on 2019/11/11 09:40:00 UTC

[jira] [Created] (RATIS-751) TestStateMachineShutdownWithGrpc fails with AssertionError

Lokesh Jain created RATIS-751:
---------------------------------

             Summary: TestStateMachineShutdownWithGrpc fails with AssertionError
                 Key: RATIS-751
                 URL: https://issues.apache.org/jira/browse/RATIS-751
             Project: Ratis
          Issue Type: Bug
          Components: server
            Reporter: Lokesh Jain
            Assignee: Lokesh Jain


TestStateMachineShutdownWithGrpc fails with assertion error. After RATIS-614 getState().getLastAppliedIndex() uses stateMachine's lastAppliedIndex. Since metadata entries are never applied in the state machine, the test fails with an assertion error. 

The test is fixed by making adjustments for metadata entry in the test condition.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)