[
https://issues.apache.org/jira/browse/HADOOP-10394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13924621#comment-13924621
]
Arpit Agarwal commented on HADOOP-10394:
----------------------------------------
I am not familiar with this the code that is being tested but from a quick look
it appears safe to increase the fudge factor up to a couple of seconds without
compromising the correctness of the test case.
> TestAuthenticationFilter is flaky
> ---------------------------------
>
> Key: HADOOP-10394
> URL: https://issues.apache.org/jira/browse/HADOOP-10394
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Affects Versions: 2.3.0
> Reporter: Arpit Agarwal
> Assignee: Arpit Agarwal
>
> We have seen this assert causes occasional failures on Ubuntu.
> {code}
> Assert.assertEquals(System.currentTimeMillis() + 1000 * 1000,
> token.getExpires(), 100);
> {code}
> The expected fudge is up to 100ms, we have seen up to ~110ms in practice.
--
This message was sent by Atlassian JIRA
(v6.2#6252)