[java-idp-integration-tests] 02/04: Fail rather than NPE if jetty.home cannot be found.

Tom Zeller tzeller at dragonacea.biz
Fri Dec 1 01:08:43 EST 2017


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

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

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

commit c39bc1dbd0d2a335470844caba007a3cbe266349
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Wed Nov 15 13:42:22 2017 -0600

    Fail rather than NPE if jetty.home cannot be found.
---
 src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java b/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
index 3f100ae..464d8a7 100644
--- a/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
@@ -465,6 +465,8 @@ public abstract class BaseIntegrationTest
 
             // Make tmp directories exist
             Assert.assertTrue(pathToJettyBase.resolve("tmp").toFile().exists(), "Path to jetty.base/tmp/ not found");
+        } else {
+            Assert.fail("Unable to find jetty.home");
         }
     }
 

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


More information about the commits mailing list