Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-1127 Fix failing and intermittent Ozone unit tests
  3. HDDS-1537

TestContainerPersistence#testDeleteBlockTwice is failing

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • Ozone Datanode
    • None
    • HDDS BadLands

    Description

      The test is failing with the following exception.

      [ERROR] Tests run: 18, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.132 s <<< FAILURE! - in org.apache.hadoop.ozone.container.common.impl.TestContainerPersistence
      [ERROR] testDeleteBlockTwice(org.apache.hadoop.ozone.container.common.impl.TestContainerPersistence)  Time elapsed: 0.058 s  <<< FAILURE!
      java.lang.AssertionError: Expected test to throw (an instance of org.apache.hadoop.hdds.scm.container.common.helpers.StorageContainerException and exception with message a string containing "Unable to find the block.")
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.rules.ExpectedException.failDueToMissingException(ExpectedException.java:184)
      	at org.junit.rules.ExpectedException.access$100(ExpectedException.java:85)
      	at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:170)
      	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            msingh Mukul Kumar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: