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

cziegeler pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-junit-core.git


The following commit(s) were added to refs/heads/master by this push:
     new e0eb2ba  Fix failing test after commons lang3 update
e0eb2ba is described below

commit e0eb2ba93b0baf460a778f3a70697d11000a68da
Author: Carsten Ziegeler <[email protected]>
AuthorDate: Tue Apr 28 07:47:06 2026 +0200

    Fix failing test after commons lang3 update
---
 .../org/apache/sling/junit/annotations/AnnotationsTestSupport.java  | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git 
a/src/it/annotations-it/src/test/java/org/apache/sling/junit/annotations/AnnotationsTestSupport.java
 
b/src/it/annotations-it/src/test/java/org/apache/sling/junit/annotations/AnnotationsTestSupport.java
index 0ff64d8..3d916c1 100644
--- 
a/src/it/annotations-it/src/test/java/org/apache/sling/junit/annotations/AnnotationsTestSupport.java
+++ 
b/src/it/annotations-it/src/test/java/org/apache/sling/junit/annotations/AnnotationsTestSupport.java
@@ -30,19 +30,15 @@ import 
org.apache.sling.junit.it.impl.MyCoolServiceForTestingIT;
 import org.apache.sling.junit.it.impl.MyLameServiceForTestingIT;
 import static org.apache.sling.testing.paxexam.SlingOptions.slingServlets;
 import static org.apache.sling.testing.paxexam.SlingOptions.versionResolver;
-import static org.apache.sling.testing.paxexam.SlingOptions.logback;
 import static org.ops4j.pax.exam.CoreOptions.options;
 import static org.ops4j.pax.exam.CoreOptions.when;
 import static org.ops4j.pax.exam.CoreOptions.mavenBundle;
-import static org.ops4j.pax.exam.CoreOptions.wrappedBundle;
 import static org.ops4j.pax.exam.CoreOptions.systemProperty;
 
 import java.net.URI;
 
 public class AnnotationsTestSupport extends TestSupport {
 
-    private final static int STARTUP_WAIT_SECONDS = 60;
-
     protected OsgiConsoleClient CLIENT;
     protected static int httpPort;
 
@@ -64,6 +60,8 @@ public class AnnotationsTestSupport extends TestSupport {
             jacocoCommand = new VMOption(jacocoOpt);
         }
 
+        versionResolver.setVersion("org.apache.commons", "commons-lang3", 
"3.18.0");
+
         return options(
             when(vmOption != null).useOptions(vmOption),
             when(jacocoCommand != null).useOptions(jacocoCommand),

Reply via email to