hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Badger (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11662) TestJobEndNotifier.testNotificationTimeout fails intermittently
Date Mon, 17 Apr 2017 21:55:42 GMT
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


Mime
View raw message