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

TestImprovement for TestHRegion.testWritesWhileGetting

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.92.1, 0.94.0, 0.95.2
    • 0.94.1, 0.95.0
    • None
    • None
    • Reviewed

    Description

      Two improvements:

      1. I was running testWritesWhileGetting on 0.90.6 (which lacks HBASE-4195) and I couldn't get the 20% failures mentioned in the JIRA. It was more like 1%. So I increased the flush frequency and it failed most of the time.

      2. The check on failure is wrong:

      assertEquals(previousKV.getValue(), thisValue);
      

      Since this is a byte array, we should use Bytes.compareTo.

      Attachments

        1. HBASE-6334-trunk-v2.patch
          5 kB
          Gregory Chanan
        2. HBASE-6334-trunk.patch
          5 kB
          Gregory Chanan
        3. HBASE-6334-94-v2.patch
          5 kB
          Gregory Chanan
        4. HBASE-6334-92-v2.patch
          5 kB
          Gregory Chanan

        Issue Links

          Activity

            People

              gchanan Gregory Chanan
              gchanan Gregory Chanan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: