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

rombert pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-log.git


The following commit(s) were added to refs/heads/master by this push:
     new 1652447  SLING-12711 - ITPackagingData fails on Windows (#22)
1652447 is described below

commit 165244753e9b3704ab0bb2c2d0513df7c7954403
Author: Robert Munteanu <[email protected]>
AuthorDate: Fri Mar 21 13:35:47 2025 +0100

    SLING-12711 - ITPackagingData fails on Windows (#22)
    
    Just skip the test on Windows (unfortunately), I don't see an easy way of 
detecting that we
    are running on the ASF Jenkins instance.
---
 .../apache/sling/commons/log/logback/integration/ITPackagingData.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/src/test/java/org/apache/sling/commons/log/logback/integration/ITPackagingData.java
 
b/src/test/java/org/apache/sling/commons/log/logback/integration/ITPackagingData.java
index db3da86..b0601ce 100644
--- 
a/src/test/java/org/apache/sling/commons/log/logback/integration/ITPackagingData.java
+++ 
b/src/test/java/org/apache/sling/commons/log/logback/integration/ITPackagingData.java
@@ -32,6 +32,7 @@ import org.apache.commons.io.FileUtils;
 import org.apache.commons.io.FilenameUtils;
 import 
org.apache.sling.commons.log.logback.integration.bundle.PackageDataActivator;
 import org.apache.sling.commons.log.logback.internal.LogbackManager;
+import org.junit.Assume;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.ops4j.pax.exam.Option;
@@ -118,6 +119,9 @@ public class ITPackagingData extends LogTestBase {
 
     @Test
     public void packageDataWorking() throws Exception{
+        Assume.assumeFalse("SLING-12711", 
+            System.getProperty("os.name").toLowerCase().contains("windows"));
+
         // Enable packaging
         Configuration config = ca.getConfiguration(PID, null);
         Dictionary<String, Object> p = new Hashtable<String, Object>();

Reply via email to