You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by GitBox <gi...@apache.org> on 2022/01/28 08:51:49 UTC

[GitHub] [ratis] codings-dan commented on pull request #594: RATIS-1511. Add setLeaderElection grpc and client related code

codings-dan commented on pull request #594:
URL: https://github.com/apache/ratis/pull/594#issuecomment-1024007691


   I have not changed the netty and hadoop relate proto, so the ci test error. I will change it in the next pull request
   ```
   Error:  testPauseResumeLeaderElection(org.apache.ratis.netty.TestLeaderElectionWithNetty)  Time elapsed: 100.011 s  <<< ERROR!
   org.junit.runners.model.TestTimedOutException: test timed out after 100 seconds
   	at java.lang.Thread.sleep(Native Method)
   	at java.lang.Thread.sleep(Thread.java:340)
   	at java.util.concurrent.TimeUnit.sleep(TimeUnit.java:386)
   	at org.apache.ratis.util.TimeDuration.sleep(TimeDuration.java:324)
   	at org.apache.ratis.util.TimeDuration.sleep(TimeDuration.java:309)
   	at org.apache.ratis.client.impl.BlockingImpl.sendRequestWithRetry(BlockingImpl.java:121)
   	at org.apache.ratis.client.impl.SetLeaderElectionImpl.pause(SetLeaderElectionImpl.java:42)
   	at org.apache.ratis.server.impl.LeaderElectionTests.runTestPauseResumeLeaderElection(LeaderElectionTests.java:427)
   	at org.apache.ratis.server.impl.LeaderElectionTests$$Lambda$637/1498201939.accept(Unknown Source)
   	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.LeaderElectionTests.testPauseResumeLeaderElection(LeaderElectionTests.java:415)
   	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:748)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ratis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org