This is an automated email from the ASF dual-hosted git repository.

abhi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git


The following commit(s) were added to refs/heads/master by this push:
     new ba808b0cd RANGER-5327:Disable intermittently failing test cases in 
ugsync (unixusersync) & ugsync-util modules (#814)
ba808b0cd is described below

commit ba808b0cd2976f62ae006b35a9af4c27380d55f3
Author: Bhaavesh Amol Amre <[email protected]>
AuthorDate: Fri Jan 23 00:12:11 2026 +0530

    RANGER-5327:Disable intermittently failing test cases in ugsync 
(unixusersync) & ugsync-util modules (#814)
---
 .../org/apache/ranger/usergroupsync/TestUserSyncMetricsProducer.java   | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/ugsync/src/test/java/org/apache/ranger/usergroupsync/TestUserSyncMetricsProducer.java
 
b/ugsync/src/test/java/org/apache/ranger/usergroupsync/TestUserSyncMetricsProducer.java
index e66ffa1ca..8c60ef3e9 100644
--- 
a/ugsync/src/test/java/org/apache/ranger/usergroupsync/TestUserSyncMetricsProducer.java
+++ 
b/ugsync/src/test/java/org/apache/ranger/usergroupsync/TestUserSyncMetricsProducer.java
@@ -21,6 +21,7 @@
 
 import org.apache.ranger.plugin.util.RangerMetricsUtil;
 import org.apache.ranger.unixusersync.config.UserGroupSyncConfig;
+import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.MethodOrderer;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.api.TestMethodOrder;
@@ -75,6 +76,7 @@ public void testA_writeJVMMetrics_createsFile_andWritesJson() 
throws Exception {
         t.interrupt();
     }
 
+    @Disabled
     @Test
     public void testB_writeJVMMetrics_setsRoleActive_whenHAEnabled() throws 
Exception {
         Path dir     = Files.createTempDirectory("ugsync-metrics-ha-");
@@ -115,6 +117,7 @@ public void 
testB_writeJVMMetrics_setsRoleActive_whenHAEnabled() throws Exceptio
         t.interrupt();
     }
 
+    @Disabled
     @Test
     public void testC_run_writesPeriodically_whenFileConfigured() throws 
Exception {
         Path                dir    = 
Files.createTempDirectory("ugsync-metrics-run-");

Reply via email to