Eric Badger created HDFS-11662:
----------------------------------

             Summary: TestJobEndNotifier.testNotificationTimeout fails 
intermittently
                 Key: HDFS-11662
                 URL: https://issues.apache.org/jira/browse/HDFS-11662
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Eric Badger


{noformat}
junit.framework.AssertionFailedError: null
        at junit.framework.Assert.fail(Assert.java:55)
        at junit.framework.Assert.assertTrue(Assert.java:22)
        at junit.framework.Assert.assertTrue(Assert.java:31)
        at junit.framework.TestCase.assertTrue(TestCase.java:201)
        at 
org.apache.hadoop.mapred.TestJobEndNotifier.testNotificationTimeout(TestJobEndNotifier.java:182)
{noformat}

This test depends on absolute timing, which can't be guaranteed. If 
{{JobEndNotifier.localRunnerNotification(jobConf, jobStatus);}} doesn't run in 
less than 2 seconds, the test will fail. Loading up my machine can cause this 
failure consistently. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to