[jira] [Updated] (RATIS-112) testRevertConfigurationChange may fail
[ https://issues.apache.org/jira/browse/RATIS-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-112: -- Attachment: r112_20170825.patch r112_20170825.patch: - changes ServerImplUtils.newRaftServer to attempt multiple times to avoid temporary bind exception; - rewrites testRevertConfigurationChange so that it can tolerate unexpected leader changes. > testRevertConfigurationChange may fail > -- > > Key: RATIS-112 > URL: https://issues.apache.org/jira/browse/RATIS-112 > Project: Ratis > Issue Type: Bug >Reporter: Tsz Wo Nicholas Sze > Attachments: > org.apache.ratis.hadooprpc.TestRaftReconfigurationWithHadoopRpc-output.txt, > r112_20170825.patch > > > RaftReconfigurationBaseTest.testRevertConfigurationChange may fail once a > while. It usually happens with TestRaftReconfigurationWithHadoopRpc although > it also happens with other RPCs. > When it happens, it fails with AssertionError at line 577, i.e. newState > remains false. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (RATIS-112) testRevertConfigurationChange may fail
[ https://issues.apache.org/jira/browse/RATIS-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-112: -- Attachment: org.apache.ratis.hadooprpc.TestRaftReconfigurationWithHadoopRpc-output.txt After some debug, it turns out that the test will fail if the leader is changed; see the attached log. > testRevertConfigurationChange may fail > -- > > Key: RATIS-112 > URL: https://issues.apache.org/jira/browse/RATIS-112 > Project: Ratis > Issue Type: Bug >Reporter: Tsz Wo Nicholas Sze > Attachments: > org.apache.ratis.hadooprpc.TestRaftReconfigurationWithHadoopRpc-output.txt > > > RaftReconfigurationBaseTest.testRevertConfigurationChange may fail once a > while. It usually happens with TestRaftReconfigurationWithHadoopRpc although > it also happens with other RPCs. > When it happens, it fails with AssertionError at line 577, i.e. newState > remains false. -- This message was sent by Atlassian JIRA (v6.4.14#64029)