[ https://issues.apache.org/jira/browse/MAPREDUCE-6036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Lowe updated MAPREDUCE-6036: ---------------------------------- Resolution: Fixed Fix Version/s: 2.6.0 3.0.0 Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Thanks to chang for the contribution and to Mit for additional review! I committed this to trunk and branch-2. > 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 > Assignee: chang li > Fix For: 3.0.0, 2.6.0 > > Attachments: mapreduce_6036.patch > > > 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)