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 Nicholas Sze (JIRA)" <ji...@apache.org> on 2018/05/02 00:43:00 UTC

[jira] [Commented] (RATIS-235) RaftTestUtil.assertLogEntries should check index for async tests.

    [ https://issues.apache.org/jira/browse/RATIS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16460346#comment-16460346 ] 

Tsz Wo Nicholas Sze commented on RATIS-235:
-------------------------------------------

r235_20180501.patch:
- checks index for async cases;
- improves error/log messages;
- improves in RaftBasicTests.runTestBasicAppendEntries;
- removes RaftAsyncTests.

> RaftTestUtil.assertLogEntries should check index for async tests.
> -----------------------------------------------------------------
>
>                 Key: RATIS-235
>                 URL: https://issues.apache.org/jira/browse/RATIS-235
>             Project: Ratis
>          Issue Type: Test
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>            Priority: Minor
>         Attachments: r235_20180501.patch
>
>
> In RaftTestUtil.assertLogEntries, it only asserts e.getIndex() > logIndex for non-async cases.  It should also check the async cases.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)