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 2017/11/08 02:04:00 UTC

[jira] [Commented] (RATIS-137) RaftBasicTests.testBasicAppendEntries may fail

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

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

It seems that the failure happens at
{code}
//RaftTestUtil: line 150
    Assert.assertEquals(expectedMessages.length, entries.length);
{code}
10 messages were created in the test so that expectedMessages.length is 10.  But entries.length == 11.  I suspect the additional log is a NO-OP which get added when there is a leader change.


> RaftBasicTests.testBasicAppendEntries may fail
> ----------------------------------------------
>
>                 Key: RATIS-137
>                 URL: https://issues.apache.org/jira/browse/RATIS-137
>             Project: Ratis
>          Issue Type: Bug
>            Reporter: Tsz Wo Nicholas Sze
>
> [~atrivedi] reported in RATIS-72 that the test may fail.
> {code}
> TestRaftWithHadoopRpc>RaftBasicTests.testBasicAppendEntries:127->RaftBasicTests.lambda$testBasicAppendEntries$1:127 expected:<10> but was:<11>
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)