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

TestRegionServerHostname#testInvalidRegionServerHostnameAbortsServer fails in Jenkins

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.0, 1.1.2, 1.3.0, 2.0.0
    • None
    • None
    • Reviewed

    Description

      The following test failure can be observed in various recent Jenkins builds:

      testInvalidRegionServerHostnameAbortsServer(org.apache.hadoop.hbase.regionserver.TestRegionServerHostname)  Time elapsed: 9.344 sec  <<< FAILURE!
      java.lang.AssertionError: null
      	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.regionserver.TestRegionServerHostname.testInvalidRegionServerHostnameAbortsServer(TestRegionServerHostname.java:65)
      

      The test inspects exception message and looks for specific sentence, making it vulnerable to environment changes.

      Attachments

        1. 14197-v2.txt
          0.9 kB
          Ted Yu
        2. 14197-v1.txt
          0.9 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: