[java-identity-provider] branch maint-4.1 updated: Make a bad environment fatal for the dependency test

Rod Widdowson rdw at steadingsoftware.com
Fri Dec 17 14:34:52 UTC 2021


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

rdw pushed a commit to branch maint-4.1
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=28ba2f37c1092d56160d7c5db48400f27a73fb93

The following commit(s) were added to refs/heads/maint-4.1 by this push:
     new 28ba2f37c Make a bad environment fatal for the dependency test
28ba2f37c is described below

commit 28ba2f37c1092d56160d7c5db48400f27a73fb93
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Dec 17 14:30:06 2021 +0000

    Make a bad environment fatal for the dependency test
---
 .../src/test/java/net/shibboleth/idp/dependencies/DependencyTest.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/idp-installer/src/test/java/net/shibboleth/idp/dependencies/DependencyTest.java b/idp-installer/src/test/java/net/shibboleth/idp/dependencies/DependencyTest.java
index f75673df0..16e53516d 100644
--- a/idp-installer/src/test/java/net/shibboleth/idp/dependencies/DependencyTest.java
+++ b/idp-installer/src/test/java/net/shibboleth/idp/dependencies/DependencyTest.java
@@ -111,6 +111,7 @@ public class DependencyTest extends OpenSAMLInitBaseTestCase implements PomLoade
             home = System.getenv("_");
         }
         if (home == null) {
+            assertNotNull(home);
             throw new SkipException("Maven Not Located");
         }
         if (!Files.exists(Path.of(home).resolve("bin").resolve("mvn"))) {

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


More information about the commits mailing list