From bdaca57aa86ab4a9bc8b8418a130737ae4acebb2 Mon Sep 17 00:00:00 2001 From: ChinmayHegde24 Date: Fri, 15 May 2026 16:56:58 +0530 Subject: [PATCH] RANGER-5602: Resolved unit test failure in TestPolicyACLs.java --- .../org/apache/ranger/plugin/policyengine/TestPolicyACLs.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents-common/src/test/java/org/apache/ranger/plugin/policyengine/TestPolicyACLs.java b/agents-common/src/test/java/org/apache/ranger/plugin/policyengine/TestPolicyACLs.java index b000cc6c3fe..052f0413d9f 100644 --- a/agents-common/src/test/java/org/apache/ranger/plugin/policyengine/TestPolicyACLs.java +++ b/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 -> { RangerAccessRequestImpl request = new RangerAccessRequestImpl(oneTest.resource, RangerPolicyEngine.ANY_ACCESS, null, null, null); request.setResourceMatchingScope(oneTest.resourceMatchingScope);