[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Douglas updated MAPREDUCE-1412:
-------------------------------------

    Attachment: M1412-0.patch

Patch adding an extra millisecond to the fake JT clock. Equivalently, this 
could remove exact matches of the expiry interval, but fixing the test seemed 
more relevant.

Also updates the {{assertEquals}} statements to match the (expected, actual) 
ordering and changes a {{HashSet}} of an enumerated type to {{EnumSet}} in the 
unit test.

> TestTaskTrackerBlacklisting fails sometimes
> -------------------------------------------
>
>                 Key: MAPREDUCE-1412
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1412
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Chris Douglas
>         Attachments: M1412-0.patch
>
>
> {{TestTaskTrackerBlacklisting}} fails occasionally. The granularity of the 
> timer is responsible; the unit test adds a day to the expiration interval to 
> verify that the tracker is removed from the blacklist, but the tracker is not 
> removed if the interval exactly matches 1 day.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to