You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/01/22 19:13:00 UTC

[jira] [Comment Edited] (RATIS-195) TestRaftReconfigurationWithSimulatedRpc fails with assertion error

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

Ted Yu edited comment on RATIS-195 at 1/22/18 7:12 PM:
-------------------------------------------------------

I installed maven 3.5.2 and the test passed locally on Mac.

However, on Linux, I still got test failure:
{code}
testRemovePeers(org.apache.ratis.server.simulation.TestRaftReconfigurationWithSimulatedRpc)  Time elapsed: 100.012 sec  <<< ERROR!
java.lang.Exception: test timed out after 100000 milliseconds
{code}
Here is the environment:
{code}
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z)
Maven home: /mnt/disk2/a/apache-maven-3.5.2
Java version: 1.8.0_161, vendor: Oracle Corporation
Java home: /mnt/disk2/a/jdk1.8.0_161/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-327.28.3.el7.x86_64", arch: "amd64", family: "unix"
{code}


was (Author: yuzhihong@gmail.com):
I installed maven 3.5.2 and the test passed locally.

> TestRaftReconfigurationWithSimulatedRpc fails with assertion error
> ------------------------------------------------------------------
>
>                 Key: RATIS-195
>                 URL: https://issues.apache.org/jira/browse/RATIS-195
>             Project: Ratis
>          Issue Type: Test
>            Reporter: Ted Yu
>            Priority: Minor
>         Attachments: org.apache.ratis.server.simulation.TestRaftReconfigurationWithSimulatedRpc-output.txt, ratis-8464.tst
>
>
> As of commit 7b3a9a6f5f8e8075727d84e3ddeae7b594eda89c, I observed the following :
> {code}
> testRevertConfigurationChange(org.apache.ratis.server.simulation.TestRaftReconfigurationWithSimulatedRpc)  Time elapsed: 2.119 sec  <<< FAILURE!
> java.lang.AssertionError: 1 0 expected:<NOOP> but was:<CONFIGURATIONENTRY>
> {code}
> 1 was confIndex and 0 was log.getLastCommittedIndex()



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