vyommani commented on code in PR #948:
URL: https://github.com/apache/ranger/pull/948#discussion_r3248439345


##########
agents-common/src/test/java/org/apache/ranger/plugin/policyengine/TestPolicyACLs.java:
##########
@@ -119,7 +119,7 @@ private void runTests(InputStreamReader reader, String 
testName) {
             RangerPluginContext       pluginContext       = new 
RangerPluginContext(new RangerPluginConfig(serviceType, null, 
"test-policy-acls", "cl1", "on-prem", policyEngineOptions));
             RangerPolicyEngine        policyEngine        = new 
RangerPolicyEngineImpl(testCase.servicePolicies, pluginContext, null);
 
-            
testCase.tests.parallelStream().filter(Objects::nonNull).forEach(oneTest -> {
+            testCase.tests.stream().filter(Objects::nonNull).forEach(oneTest 
-> {

Review Comment:
   Please don't change it from parallelStream to stream. I’ve been 
investigating this and the parallel execution was an intentional change made as 
part of RANGER-5115.
   
   We need more analysis to determine the correct fix for this test failure. 
The test only started failing a couple of hours ago in my local env, so I 
haven’t finished the root cause analysis yet.
   
   If this is blocking, we can temporarily disable the test, but I recommend 
not modifying the test logic.
   
   @ChinmayHegde24 If it’s urgent, please disable the test for now. We’ll 
analyze the failure and push a proper fix



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