risdenk commented on a change in pull request #205: KNOX-2134 - Add caching to 
ZookeeperRemoteAliasService
URL: https://github.com/apache/knox/pull/205#discussion_r349755491
 
 

 ##########
 File path: 
gateway-server/src/test/java/org/apache/knox/gateway/services/security/impl/ZookeeperRemoteAliasMonitorTest.java
 ##########
 @@ -234,13 +233,19 @@ public void testListener() throws Exception {
                 + ZookeeperRemoteAliasService.PATH_SEPARATOR + 
expectedAliasDev,
             
zkAlias.encrypt(expectedPasswordDev).getBytes(StandardCharsets.UTF_8));
 
+    try {
+      Thread.sleep(1000);
 
 Review comment:
   Why do we need to do this? Why 1 second? What are we sleeping for?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to