HADOOP-9553. TestAuthenticationToken fails on Windows. Contributed by Arpit Agarwal.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1480883 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Suresh Srinivas 2013-05-10 05:52:39 +00:00
parent ae9a981855
commit 146ccd7b06
2 changed files with 4 additions and 2 deletions

View File

@ -88,7 +88,7 @@ public class TestAuthenticationToken extends TestCase {
assertEquals("t", token.getType());
assertEquals(expires, token.getExpires());
assertFalse(token.isExpired());
Thread.sleep(51);
Thread.sleep(70); // +20 msec fuzz for timer granularity.
assertTrue(token.isExpired());
}
@ -102,7 +102,7 @@ public class TestAuthenticationToken extends TestCase {
assertEquals("t", token.getType());
assertEquals(expires, token.getExpires());
assertFalse(token.isExpired());
Thread.sleep(51);
Thread.sleep(70); // +20 msec fuzz for timer granularity.
assertTrue(token.isExpired());
}

View File

@ -554,6 +554,8 @@ Trunk (Unreleased)
HADOOP-9556. disable HA tests on Windows that fail due to ZooKeeper client
connection management bug. (Chris Nauroth via suresh)
HADOOP-9553. TestAuthenticationToken fails on Windows.
(Arpit Agarwal via suresh)
Release 2.0.5-beta - UNRELEASED