[java-idp-integration-tests] branch main updated: Fix OP conformance suite tests

Codeberg noreply at shibboleth.net
Sat May 16 15:00:44 UTC 2026


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

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

View the commit online:
https://codeberg.org/Shibboleth/java-idp-integration-tests/commit/f3f136f5000420e4766d9a367fadf0bad3752981

The following commit(s) were added to refs/heads/main by this push:
     new f3f136f  Fix OP conformance suite tests
f3f136f is described below

commit f3f136f5000420e4766d9a367fadf0bad3752981
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Sat May 16 09:59:59 2026 -0500

    Fix OP conformance suite tests
    
    Use named volume rather than bind mount for Mongo data.
    
    Jenkins nodes are not be able to run the Maven 'clean' goal and delete
    files since they are owned by uid 999.
---
 .../tests/oidc/ConformanceSuiteContainer.java         | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/src/test/java/net/shibboleth/idp/integration/tests/oidc/ConformanceSuiteContainer.java b/src/test/java/net/shibboleth/idp/integration/tests/oidc/ConformanceSuiteContainer.java
index 026ad4b..e3f8b47 100644
--- a/src/test/java/net/shibboleth/idp/integration/tests/oidc/ConformanceSuiteContainer.java
+++ b/src/test/java/net/shibboleth/idp/integration/tests/oidc/ConformanceSuiteContainer.java
@@ -104,6 +104,8 @@ public class ConformanceSuiteContainer extends AbstractIdentifiableInitializable
 
             checkoutConformanceSuite();
 
+            setUpMongoVolume();
+
             buildConformanceSuite();
 
             configureConformanceSuite();
@@ -279,6 +281,23 @@ public class ConformanceSuiteContainer extends AbstractIdentifiableInitializable
         logProcess(process, "Create Python venv :");
     }
 
+    /**
+     * Use named volume rather than bind mount for Mongo data.
+     * 
+     * @throws IOException
+     *             if an error occurs
+     */
+    protected void setUpMongoVolume() throws IOException {
+
+        final String oldText = "     - ./mongo/data:/data/db\n";
+
+        final String newText = "     - mongodata:/data/db\n";
+
+        replaceFile(pathToDockerComposeYML, oldText, newText);
+
+        replaceFile(pathToDockerComposeYML, "\\z", "\n\nvolumes:\n  mongodata:\n");
+    }
+
     /**
      * Install httpx module to Python virtual environment.
      * 

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


More information about the commits mailing list