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

TestAsyncProcess#testFailAndSuccess & testThreadCreation are flaky on SUSE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.96.0
    • 0.98.0, 0.96.0
    • test
    • None
    • Reviewed

    Description

      When TestAsyncProcess runs on SUSE, the testFailAndSuccess & testThreadCreation fails intermittently with the following stack:

      Error Trace for testFailAndSuccess

      java.lang.AssertionError
      	at org.junit.Assert.fail(Assert.java:86)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.junit.Assert.assertTrue(Assert.java:52)
      	at org.apache.hadoop.hbase.client.TestAsyncProcess.testFailAndSuccess(TestAsyncProcess.java:394)
      

      Error trace for testThreadCreation

      java.lang.AssertionError: expected:<1> but was:<2>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:743)
      	at org.junit.Assert.assertEquals(Assert.java:118)
      	at org.junit.Assert.assertEquals(Assert.java:555)
      	at org.junit.Assert.assertEquals(Assert.java:542)
      	at org.apache.hadoop.hbase.client.TestAsyncProcess.testThreadCreation(TestAsyncProcess.java:728)
      

      Attachments

        1. hbase-9723.patch
          1 kB
          Jeffrey Zhong

        Activity

          People

            jeffreyz Jeffrey Zhong
            jeffreyz Jeffrey Zhong
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: