cshannon commented on code in PR #3099:
URL: https://github.com/apache/accumulo/pull/3099#discussion_r1036966840


##########
server/base/src/test/java/org/apache/accumulo/server/security/delegation/AuthenticationTokenSecretManagerTest.java:
##########
@@ -208,6 +208,8 @@ public void testVerifyPassword() throws Exception {
     assertArrayEquals(password, secretManager.retrievePassword(id));
 
     // Make a second token for the same user
+    // Sleep for 1 millisecond to guarantee token is unique
+    Thread.sleep(100);

Review Comment:
   Yeah I updated the time from 1 to 100 in my second commit but didn't update 
the comment so good catch.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to