[
https://issues.apache.org/jira/browse/MAPREDUCE-4697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gopal V updated MAPREDUCE-4697:
-------------------------------
Release Note: Replicate math for getNextHeartbeatInterval() in the
test-case to ensure MRConstants changes do not break test-case.
Status: Patch Available (was: Open)
Replace constant in the test case with a calculated value so that the test-case
will no longer go out of date when MRConstants.HEARTBEAT_INTERVAL_MIN is
changed.
> TestMapredHeartbeat fails assertion on HeartbeatInterval
> --------------------------------------------------------
>
> Key: MAPREDUCE-4697
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4697
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 1.1.1
> Reporter: Gopal V
> Assignee: Gopal V
> Priority: Minor
> Attachments: mapreduce-4697.patch
>
>
> TestMapredHeartbeat fails test on heart beat interval
> {code}
> FAILED
> expected:<300> but was:<500>
> junit.framework.AssertionFailedError: expected:<300> but was:<500>
> at
> org.apache.hadoop.mapred.TestMapredHeartbeat.testJobDirCleanup(TestMapredHeartbeat.java:68)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira