Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-19250

Fix test TestServiceInterruptHandling.testRegisterAndRaise

    XMLWordPrintableJSON

Details

    Description

      If test on some slow server, testRegisterAndRaise may fail, error stack are

      
      [ERROR] testRegisterAndRaise(org.apache.hadoop.service.launcher.TestServiceInterruptHandling) Time elapsed: 0.513 s <<< FAILURE! java.lang.AssertionError: interrupt data at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.assertTrue(Assert.java:42) at org.junit.Assert.assertNotNull(Assert.java:713) at org.apache.hadoop.service.launcher.TestServiceInterruptHandling.testRegisterAndRaise(TestServiceInterruptHandling.java:48) at
      

      backporting note:

      there are two commits for this issue, please cherrypick both when backporting

      Attachments

        Activity

          People

            zhengchenyu Chenyu Zheng
            zhengchenyu Chenyu Zheng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: