You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Andy Wu (JIRA)" <ji...@apache.org> on 2019/04/16 18:32:00 UTC
[jira] [Created] (RATIS-531)
TestServerRestartWithGrpc.runTestRestartCommitIndex is flaky
Andy Wu created RATIS-531:
-----------------------------
Summary: TestServerRestartWithGrpc.runTestRestartCommitIndex is flaky
Key: RATIS-531
URL: https://issues.apache.org/jira/browse/RATIS-531
Project: Ratis
Issue Type: Bug
Components: test
Affects Versions: 0.4.0
Reporter: Andy Wu
Attachments: runTestRestartCommitIndex.log
Repeatly run the *TestServerRestartWithGrpc.runTestRestartCommitIndex,* and it will fail after couple of runs.
For the detailed log, please refer to the attachment. [^runTestRestartCommitIndex.log]
{code:java}
java.lang.AssertionError:
Expected :136
Actual :138
<Click to see difference>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.apache.ratis.server.ServerRestartTests.runTestRestartCommitIndex(ServerRestartTests.java:276)
at org.apache.ratis.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:119)
at org.apache.ratis.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:107)
at org.apache.ratis.server.ServerRestartTests.testRestartCommitIndex(ServerRestartTests.java:221)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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:298)
at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:745)
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)