[java-idp-integration-tests] branch main updated: Cleanup - fix tests when running with Jetty

Tom Zeller tzeller at dragonacea.biz
Thu Oct 16 13:44:47 UTC 2025


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch main
in repository java-idp-integration-tests.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-integration-tests.git;a=commit;h=6fcc3c60e3a10d29577345bf0542d0a64c9b31a6

The following commit(s) were added to refs/heads/main by this push:
     new 6fcc3c6  Cleanup - fix tests when running with Jetty
6fcc3c6 is described below

commit 6fcc3c60e3a10d29577345bf0542d0a64c9b31a6
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Thu Oct 16 08:44:33 2025 -0500

    Cleanup - fix tests when running with Jetty
---
 src/test/java/net/shibboleth/idp/integration/tests/BaseTest.java | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/test/java/net/shibboleth/idp/integration/tests/BaseTest.java b/src/test/java/net/shibboleth/idp/integration/tests/BaseTest.java
index feabf5a..cd5317e 100644
--- a/src/test/java/net/shibboleth/idp/integration/tests/BaseTest.java
+++ b/src/test/java/net/shibboleth/idp/integration/tests/BaseTest.java
@@ -540,6 +540,11 @@ public abstract class BaseTest {
     @BeforeClass(dependsOnMethods = { "setUpIdPPaths" })
     public void setUpTomcatPaths() throws Exception {
 
+        if (!Boolean.getBoolean("tomcat")) {
+            log.debug("Not setting up Tomcat because system property 'tomcat' is false");
+            return;
+        }
+
         // Path to the project build directory.
         final Path buildPath = Paths.get(TEST_DISTRIBUTIONS_DIRECTORY);
         log.debug("Path to build directory '{}'", buildPath.toAbsolutePath());

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list