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

Make TestAtomicOperation and TestEncodedSeekers faster

    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

        1. 0001-Fix-TestAtomicOperation.patch
          4 kB
          Manukranth Kolloju
        2. 0001-INTERNAL-Fix-TestAtomicOperation.patch
          5 kB
          Manukranth Kolloju

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: