hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sur...@apache.org
Subject svn commit: r1480883 - in /hadoop/common/trunk/hadoop-common-project: hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/server/TestAuthenticationToken.java hadoop-common/CHANGES.txt
Date Fri, 10 May 2013 05:52:40 GMT
Author: suresh
Date: Fri May 10 05:52:39 2013
New Revision: 1480883

URL: http://svn.apache.org/r1480883
Log:
HADOOP-9553. TestAuthenticationToken fails on Windows. Contributed by Arpit Agarwal.

Modified:
    hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/server/TestAuthenticationToken.java
    hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt

Modified: hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/server/TestAuthenticationToken.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/server/TestAuthenticationToken.java?rev=1480883&r1=1480882&r2=1480883&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/server/TestAuthenticationToken.java
(original)
+++ hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/server/TestAuthenticationToken.java
Fri May 10 05:52:39 2013
@@ -88,7 +88,7 @@ public class TestAuthenticationToken ext
     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 ext
     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());
   }
 

Modified: hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt?rev=1480883&r1=1480882&r2=1480883&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt (original)
+++ hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt Fri May 10 05:52:39
2013
@@ -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
 



Mime
View raw message