You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Eric Badger (JIRA)" <ji...@apache.org> on 2017/04/17 21:55:42 UTC

[jira] [Created] (HDFS-11662) TestJobEndNotifier.testNotificationTimeout fails intermittently

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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org