jiacheliu3 commented on PR #733:
URL: https://github.com/apache/ratis/pull/733#issuecomment-1236681385

   Is this one flaky? This UT passes on my local build.
   ```
   Error:  Tests run: 16, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
42.736 s <<< FAILURE! - in 
org.apache.ratis.server.simulation.TestLeaderElectionWithSimulatedRpc
   Error:  
testRemoveListener(org.apache.ratis.server.simulation.TestLeaderElectionWithSimulatedRpc)
  Time elapsed: 1.711 s  <<< ERROR!
   java.lang.IllegalStateException: Found duplicated element 
s0|rpc:localhost:38565|admin:localhost:42183|client:localhost:37945|dataStream:localhost:42749|priority:0|startupRole:FOLLOWER
 in 
[s0|rpc:localhost:38565|admin:localhost:42183|client:localhost:37945|dataStream:localhost:42749|priority:0|startupRole:FOLLOWER,
 
s2|rpc:localhost:40489|admin:localhost:40079|client:localhost:44937|dataStream:localhost:40043|priority:0|startupRole:FOLLOWER,
 
s0|rpc:localhost:38565|admin:localhost:42183|client:localhost:37945|dataStream:localhost:42749|priority:0|startupRole:FOLLOWER]
        at org.apache.ratis.util.Preconditions.assertTrue(Preconditions.java:73)
        at 
org.apache.ratis.util.Preconditions.assertUnique(Preconditions.java:128)
        at 
org.apache.ratis.util.Preconditions.assertUnique(Preconditions.java:122)
        at 
org.apache.ratis.protocol.SetConfigurationRequest$Arguments.<init>(SetConfigurationRequest.java:59)
        at 
org.apache.ratis.protocol.SetConfigurationRequest$Arguments.<init>(SetConfigurationRequest.java:36)
        at 
org.apache.ratis.protocol.SetConfigurationRequest$Arguments$Builder.build(SetConfigurationRequest.java:144)
        at 
org.apache.ratis.client.api.AdminApi.setConfiguration(AdminApi.java:55)
        at 
org.apache.ratis.client.api.AdminApi.setConfiguration(AdminApi.java:40)
        at 
org.apache.ratis.server.impl.LeaderElectionTests.testRemoveListener(LeaderElectionTests.java:353)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        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.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.lang.Thread.run(Thread.java:829)
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to