You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2024/06/02 23:49:00 UTC
[jira] [Created] (RATIS-2105) TestRetryCacheWithNettyRpc may fail with TimeoutException
Tsz-wo Sze created RATIS-2105:
---------------------------------
Summary: TestRetryCacheWithNettyRpc may fail with TimeoutException
Key: RATIS-2105
URL: https://issues.apache.org/jira/browse/RATIS-2105
Project: Ratis
Issue Type: Bug
Reporter: Tsz-wo Sze
I can reproduce it with ratis-3.1.0-rc0
{code}
[INFO] Running org.apache.ratis.netty.TestRetryCacheWithNettyRpc
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 100.299 s <<< FAILURE! - in org.apache.ratis.netty.TestRetryCacheWithNettyRpc
[ERROR] org.apache.ratis.netty.TestRetryCacheWithNettyRpc.testRetryOnNewLeader Time elapsed: 100.182 s <<< ERROR!
java.util.concurrent.TimeoutException: testRetryOnNewLeader() timed out after 100 seconds
at java.util.ArrayList.forEach(ArrayList.java:1259)
at java.util.ArrayList.forEach(ArrayList.java:1259)
Suppressed: java.io.InterruptedIOException: retry policy=RetryForeverWithSleep(sleepTime = 100ms)
at org.apache.ratis.client.impl.BlockingImpl.sendRequestWithRetry(BlockingImpl.java:138)
at org.apache.ratis.client.impl.AdminImpl.setConfiguration(AdminImpl.java:46)
at org.apache.ratis.client.api.AdminApi.setConfiguration(AdminApi.java:51)
at org.apache.ratis.client.api.AdminApi.setConfiguration(AdminApi.java:45)
at org.apache.ratis.server.impl.MiniRaftCluster.setConfiguration(MiniRaftCluster.java:826)
at org.apache.ratis.RetryCacheTests.lambda$runTestRetryOnNewLeader$0(RetryCacheTests.java:145)
at org.apache.ratis.server.impl.RaftServerTestUtil.runWithMinorityPeers(RaftServerTestUtil.java:231)
at org.apache.ratis.RetryCacheTests.runTestRetryOnNewLeader(RetryCacheTests.java:144)
at org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:143)
at org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:121)
at org.apache.ratis.RetryCacheTests.testRetryOnNewLeader(RetryCacheTests.java:124)
at java.lang.reflect.Method.invoke(Method.java:498)
... 2 more
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)