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

RaftLogTruncateTests may fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.1.0
    • test
    • None

    Description

      This was reported by Ashish in https://lists.apache.org/thread/81kdhdxzdk77gkqd7c499kkkykn1yh2v

      [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
      29.712 s <<< FAILURE! - in org.apache.ratis.grpc.TestRaftLogTruncateWithGrpc
      [ERROR] org.apache.ratis.grpc.TestRaftLogTruncateWithGrpc.testLogTruncate
       Time elapsed: 29.55 s  <<< FAILURE!
      org.opentest4j.AssertionFailedError: s3 TransactionContextMap is non-empty
      ==> expected: <true> but was: <false>
      at org.apache.ratis.RaftLogTruncateTests.assertEmptyTransactionContextMap(RaftLogTruncateTests.java:235)
      at org.apache.ratis.RaftLogTruncateTests.runTestLogTruncate(RaftLogTruncateTests.java:222)
      at org.apache.ratis.RaftLogTruncateTests.runTestLogTruncate(RaftLogTruncateTests.java:115)
      at org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:141)
      at org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:121)
      at org.apache.ratis.RaftLogTruncateTests.testLogTruncate(RaftLogTruncateTests.java:93)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
      at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
      

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 1h 10m
                  1h 10m