[ 
https://issues.apache.org/jira/browse/RATIS-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17930774#comment-17930774
 ] 

Tsz-wo Sze commented on RATIS-2253:
-----------------------------------

Try increasing the timeout from 100s to 300s in RATIS-2254.  See if it would 
fail with timeout again.

BTW, testWithLoad(..) does fail with reference count leaks intermittently.

> Intermittent timeout in TestRaftWithGrpc.testWithLoad
> -----------------------------------------------------
>
>                 Key: RATIS-2253
>                 URL: https://issues.apache.org/jira/browse/RATIS-2253
>             Project: Ratis
>          Issue Type: Bug
>          Components: test
>            Reporter: Attila Doroszlai
>            Priority: Major
>
> {code}
> Tests run: 11, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 250.679 s 
> <<< FAILURE! - in org.apache.ratis.grpc.TestRaftWithGrpc
> org.apache.ratis.grpc.TestRaftWithGrpc.testWithLoad(boolean)[2]  Time 
> elapsed: 103.273 s  <<< ERROR!
> java.util.concurrent.TimeoutException: testWithLoad(boolean) timed out after 
> 100 seconds
>       ...
>       Suppressed: java.lang.InterruptedException: sleep interrupted
>               ...
>               at 
> org.apache.ratis.util.JavaUtils.attemptRepeatedly(JavaUtils.java:204)
>               at 
> org.apache.ratis.RaftTestUtil.changeLeader(RaftTestUtil.java:480)
>               at 
> org.apache.ratis.RaftTestUtil.changeLeader(RaftTestUtil.java:472)
>               at 
> org.apache.ratis.RaftBasicTests.testWithLoad(RaftBasicTests.java:405)
>               at 
> org.apache.ratis.RaftBasicTests.lambda$testWithLoad$8(RaftBasicTests.java:338)
>               at 
> org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:144)
>               at 
> org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:121)
>               at 
> org.apache.ratis.RaftBasicTests.testWithLoad(RaftBasicTests.java:338)
>               at 
> org.apache.ratis.grpc.TestRaftWithGrpc.testWithLoad(TestRaftWithGrpc.java:62)
> {code}



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

Reply via email to