You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Sammi Chen (Jira)" <ji...@apache.org> on 2022/07/20 08:22:00 UTC

[jira] [Created] (RATIS-1629) Fix flaky TestRaftReconfigurationWithSimulatedRpc#testKillLeaderDuringReconf

Sammi Chen created RATIS-1629:
---------------------------------

             Summary: Fix flaky TestRaftReconfigurationWithSimulatedRpc#testKillLeaderDuringReconf
                 Key: RATIS-1629
                 URL: https://issues.apache.org/jira/browse/RATIS-1629
             Project: Ratis
          Issue Type: Bug
            Reporter: Sammi Chen


[https://github.com/apache/ratis/runs/7422593840?check_suite_focus=true]

https://github.com/apache/ratis/runs/7422066448?check_suite_focus=true

 

Error:  Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 57.647 s <<< FAILURE! - in org.apache.ratis.server.simulation.TestRaftReconfigurationWithSimulatedRpc
Error:  testKillLeaderDuringReconf(org.apache.ratis.server.simulation.TestRaftReconfigurationWithSimulatedRpc)  Time elapsed: 19.62 s  <<< FAILURE!
java.lang.AssertionError
    at org.junit.Assert.fail(Assert.java:87)
    at org.junit.Assert.assertTrue(Assert.java:42)
    at org.junit.Assert.assertFalse(Assert.java:65)
    at org.junit.Assert.assertFalse(Assert.java:75)
    at org.apache.ratis.server.impl.RaftServerTestUtil.waitAndCheckNewConf(RaftServerTestUtil.java:122)
    at org.apache.ratis.server.impl.RaftServerTestUtil.lambda$waitAndCheckNewConf$3(RaftServerTestUtil.java:92)
    at org.apache.ratis.util.function.CheckedRunnable.lambda$asCheckedSupplier$0(CheckedRunnable.java:32)
    at org.apache.ratis.util.JavaUtils.attempt(JavaUtils.java:166)
    at org.apache.ratis.util.JavaUtils.attemptRepeatedly(JavaUtils.java:152)
    at org.apache.ratis.util.JavaUtils.attempt(JavaUtils.java:186)
    at org.apache.ratis.server.impl.RaftServerTestUtil.waitAndCheckNewConf(RaftServerTestUtil.java:92)
    at org.apache.ratis.server.impl.RaftReconfigurationBaseTest.runTestKillLeaderDuringReconf(RaftReconfigurationBaseTest.java:517)
    at org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:125)
    at org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:113)
    at org.apache.ratis.server.impl.RaftReconfigurationBaseTest.testKillLeaderDuringReconf(RaftReconfigurationBaseTest.java:452)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
    at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.lang.Thread.run(Thread.java:750)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)