Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1810

Intermittent failure in TestRaftServerWithGrpc#testRaftClientMetrics

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0, 2.5.0
    • None
    • None

    Description

      [INFO] Running org.apache.ratis.grpc.TestRaftServerWithGrpc
      6958Error:  Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 9.223 s <<< FAILURE! - in org.apache.ratis.grpc.TestRaftServerWithGrpc
      6959Error:  testRaftClientMetrics[0](org.apache.ratis.grpc.TestRaftServerWithGrpc)  Time elapsed: 3.433 s  <<< FAILURE!
      6960java.lang.AssertionError
      6961	at org.junit.Assert.fail(Assert.java:87)
      6962	at org.junit.Assert.assertTrue(Assert.java:42)
      6963	at org.junit.Assert.assertTrue(Assert.java:53)
      6964	at org.apache.ratis.grpc.TestRaftServerWithGrpc.testRaftClientRequestMetrics(TestRaftServerWithGrpc.java:316)
      6965	at org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:141)
      6966	at org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:121)
      6967	at org.apache.ratis.grpc.TestRaftServerWithGrpc.testRaftClientMetrics(TestRaftServerWithGrpc.java:219)
      6968	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      6969	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      6970	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      6971	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      6972	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
      6973	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      6974	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
      6975	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      6976	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      6977	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      6978	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
      6979	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
      6980	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      6981	at java.base/java.lang.Thread.run(Thread.java:829) 

      Attachments

        Issue Links

          Activity

            People

              ckj Kaijie Chen
              ckj Kaijie Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m