You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Lokesh Jain (Jira)" <ji...@apache.org> on 2020/07/28 08:55:01 UTC
[jira] [Updated] (RATIS-866) Fix
TestServerRestartWithSimulatedRpc#testRestartWithCorruptedLogHeader
[ https://issues.apache.org/jira/browse/RATIS-866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lokesh Jain updated RATIS-866:
------------------------------
Fix Version/s: (was: 1.0.0)
1.1.0
> Fix TestServerRestartWithSimulatedRpc#testRestartWithCorruptedLogHeader
> -----------------------------------------------------------------------
>
> Key: RATIS-866
> URL: https://issues.apache.org/jira/browse/RATIS-866
> Project: Ratis
> Issue Type: Sub-task
> Reporter: Shashikant Banerjee
> Assignee: runzhiwang
> Priority: Major
> Fix For: 1.1.0
>
>
> [https://builds.apache.org/job/PreCommit-RATIS-Build/1299/testReport/org.apache.ratis.server.simulation/TestServerRestartWithSimulatedRpc/testRestartWithCorruptedLogHeader/]
> {code:java}
> attempt #2/10: java.lang.AssertionError: expected:<1> but was:<0>, sleep 100ms and then retry.
> java.lang.AssertionError: expected:<1> but was:<0>
> 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.getOpenLogFile(ServerRestartTests.java:179)
> at org.apache.ratis.server.ServerRestartTests.lambda$runTestRestartWithCorruptedLogHeader$2(ServerRestartTests.java:191)
> at org.apache.ratis.util.JavaUtils.attempt(JavaUtils.java:160)
> at org.apache.ratis.util.JavaUtils.attemptRepeatedly(JavaUtils.java:146)
> at org.apache.ratis.server.ServerRestartTests.runTestRestartWithCorruptedLogHeader(ServerRestartTests.java:191)
> at org.apache.ratis.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:125)
> at org.apache.ratis.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:113)
> at org.apache.ratis.server.ServerRestartTests.testRestartWithCorruptedLogHeader(ServerRestartTests.java:185)
> 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:748)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)