Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22515

Document HBOSS test cases known to fail under Null lock implementation

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      some existing test fail when the null locking implementation is used, because correctness relies on locks:

      
      [INFO] Running org.apache.hadoop.hbase.oss.TestAtomicRename
      [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.661 s <<< FAILURE! - in org.apache.hadoop.hbase.oss.TestAtomicRename
      [ERROR] testAtomicRename(org.apache.hadoop.hbase.oss.TestAtomicRename)  Time elapsed: 1.498 s  <<< FAILURE!
      java.lang.AssertionError: Rename source is still visible after rename finished or target showed up.
      	at org.apache.hadoop.hbase.oss.TestAtomicRename.testAtomicRename(TestAtomicRename.java:73)
      
      [INFO] Running org.apache.hadoop.hbase.oss.TestCreateNonRecursive
      [ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.088 s <<< FAILURE! - in org.apache.hadoop.hbase.oss.TestCreateNonRecursive
      [ERROR] testCreateNonRecursiveParallel(org.apache.hadoop.hbase.oss.TestCreateNonRecursive)  Time elapsed: 0.872 s  <<< FAILURE!
      java.lang.AssertionError: All but exactly 1 call should have thrown exceptions. Experiment 1 of 10. expected:<9> but was:<0>
      	at org.apache.hadoop.hbase.oss.TestCreateNonRecursive.testCreateNonRecursiveParallel(TestCreateNonRecursive.java:103)
      
      

      Attachments

        1. HBASE-22515.master.001.patch
          1 kB
          Wellington Chevreuil

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            wchevreuil Wellington Chevreuil
            busbey Sean Busbey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment