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

TestCatalogTracker depends on the execution order

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.98.0, 0.95.2, 0.94.11
    • 0.98.0, 0.94.12, 0.96.0
    • test
    • None

    Description

      Some CatalogTracker test don't delete the ROOT location.
      For example if testNoTimeoutWaitForRoot() runs before testInterruptWaitOnMetaAndRoot() you get

      junit.framework.AssertionFailedError: Expected: <null> but was: example.org,1234,1377038834244
      	at junit.framework.Assert.fail(Assert.java:50)
      	at junit.framework.Assert.assertTrue(Assert.java:20)
      	at junit.framework.Assert.assertNull(Assert.java:237)
      	at junit.framework.Assert.assertNull(Assert.java:230)
      	at org.apache.hadoop.hbase.catalog.TestCatalogTracker.testInterruptWaitOnMetaAndRoot(TestCatalogTracker.java:144)
      

      Attachments

        1. HBASE-9287-trunk-v0.patch
          6 kB
          Matteo Bertozzi
        2. HBASE-9287-v0.patch
          15 kB
          Matteo Bertozzi

        Activity

          People

            mbertozzi Matteo Bertozzi
            mbertozzi Matteo Bertozzi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: