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

Make TestAtomicOperation and TestEncodedSeekers faster

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.0.0
    • 0.98.7, 0.99.1
    • test
    • None
    • Reviewed

    Description

      TestAtomicOperation has a bunch of tests which spawn a bunch of tests that do puts, appends, deletes, inc and then does gets to make sure that things happened. It uses TEST_UTIL.getLocalHRegion() to obtain an HRegion object. So, in essence the test doesn't need to sync to disk to make sure the edits have persisted. There is no regionserver/master to take care of wal replay or any failure for that matter. So, converting all the Durability settings for the edits to ASYNC_WAL seems like the right thing to do here to make the test run faster.

      Attachments

        Activity

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

          People

            manukranthk Manukranth Kolloju Assign to me
            manukranthk Manukranth Kolloju
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment