You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Mit Desai (JIRA)" <ji...@apache.org> on 2014/08/15 17:32:19 UTC

[jira] [Created] (MAPREDUCE-6036) TestJobEndNotifier fails intermittently in branch-2

Mit Desai created MAPREDUCE-6036:
------------------------------------

             Summary: TestJobEndNotifier fails intermittently in branch-2
                 Key: MAPREDUCE-6036
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6036
             Project: Hadoop Map/Reduce
          Issue Type: Bug
    Affects Versions: 2.6.0
            Reporter: Mit Desai


I have seen TestJobEndNotifier#testNotificationOnLastRetryUnregistrationFailure
failing in branch-2 intermittently. I ran the test on my machine and it fails
3 in 10 times.

This is how the test fails.

{noformat}
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.hadoop.mapreduce.v2.app.TestJobEndNotifier
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.472 sec <<<
FAILURE! - in org.apache.hadoop.mapreduce.v2.app.TestJobEndNotifier
testNotificationOnLastRetryUnregistrationFailure(org.apache.hadoop.mapreduce.v2.app.TestJobEndNotifier)
 Time elapsed: 8.389 sec  <<< FAILURE!
java.lang.AssertionError: expected:<0> but was:<1>
    at org.junit.Assert.fail(Assert.java:88)
    at org.junit.Assert.failNotEquals(Assert.java:743)
    at org.junit.Assert.assertEquals(Assert.java:118)
    at org.junit.Assert.assertEquals(Assert.java:555)
    at org.junit.Assert.assertEquals(Assert.java:542)
    at
org.apache.hadoop.mapreduce.v2.app.TestJobEndNotifier.testNotificationOnLastRetryUnregistrationFailure(TestJobEndNotifier.java:276)


Results :

Failed tests: 
  TestJobEndNotifier.testNotificationOnLastRetryUnregistrationFailure:276
expected:<0> but was:<1>

Tests run: 1, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)