pradeepagrawal8184 commented on code in PR #872:
URL: https://github.com/apache/ranger/pull/872#discussion_r3141617502


##########
agents-common/src/test/java/org/apache/ranger/plugin/policyengine/TestRangerRESTClientDeadlock.java:
##########
@@ -160,6 +160,7 @@ public void testInterruptWorksWithMultipleURLs() throws 
Exception {
         HttpServer httpServer2 = HttpServer.create(new InetSocketAddress(0), 
0);
         httpServer2.createContext("/", exchange -> {
             LOG.info("Server2: Received request, returning 503...");
+            serverReceivedRequest.countDown(); // Count down the latch for 
server2 as well

Review Comment:
   Yes, i can revert the change and/or disable the test code; we can create 
separate ticket to fix this. The failure could be intermittent also. 



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