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

 ##########
 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);
+    } catch (InterruptedException e) {
+      //
 
 Review comment:
   Reset the interrupted thread status. Fixed a bunch of that here - 
https://issues.apache.org/jira/browse/KNOX-2130 couldn't figure out how to fail 
the build sadly :(
   
   `Thread.currentThread().interrupt();`

----------------------------------------------------------------
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