[
https://issues.apache.org/jira/browse/MAPREDUCE-6029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mit Desai updated MAPREDUCE-6029:
---------------------------------
Attachment: MAPREDUCE-6029.patch
The test allows 100msec for a response, and if the node is too slow the test
fails. 100msec is quite a bit of time, but I made it a 5 second wait. The
test will only wait that long if it really takes that long for the event to be
posted. If the event shows up sooner the timeout is short-circuited so there
shouldn't be a lot of downside to making this much larger.
> TestCommitterEventHandler fails in trunk
> ----------------------------------------
>
> Key: MAPREDUCE-6029
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6029
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 3.0.0
> Reporter: Ted Yu
> Assignee: Mit Desai
> Attachments: MAPREDUCE-6029.patch
>
>
> From https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1857/console :
> {code}
> Running org.apache.hadoop.mapreduce.v2.app.commit.TestCommitterEventHandler
> Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.429 sec <<<
> FAILURE! - in
> org.apache.hadoop.mapreduce.v2.app.commit.TestCommitterEventHandler
> testFailure(org.apache.hadoop.mapreduce.v2.app.commit.TestCommitterEventHandler)
> Time elapsed: 1.198 sec <<< FAILURE!
> java.lang.AssertionError: null
> at org.junit.Assert.fail(Assert.java:86)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertNotNull(Assert.java:621)
> at org.junit.Assert.assertNotNull(Assert.java:631)
> at
> org.apache.hadoop.mapreduce.v2.app.commit.TestCommitterEventHandler.testFailure(TestCommitterEventHandler.java:314)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)