[java-idp-integration-tests] branch main updated: Remove asserting path to Java on Windows

Tom Zeller tzeller at dragonacea.biz
Sun Sep 8 21:42:14 UTC 2024


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=5b92c0269ab8980ddb1208be60347646098c1b52

The following commit(s) were added to refs/heads/main by this push:
     new 5b92c02  Remove asserting path to Java on Windows
5b92c02 is described below

commit 5b92c0269ab8980ddb1208be60347646098c1b52
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Sun Sep 8 16:41:55 2024 -0500

    Remove asserting path to Java on Windows
    
    Since java will not exist, but java.exe does
---
 .../java/net/shibboleth/idp/integration/tests/BaseIntegrationTest.java  | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/test/java/net/shibboleth/idp/integration/tests/BaseIntegrationTest.java b/src/test/java/net/shibboleth/idp/integration/tests/BaseIntegrationTest.java
index 022b56b..9a69415 100644
--- a/src/test/java/net/shibboleth/idp/integration/tests/BaseIntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/integration/tests/BaseIntegrationTest.java
@@ -3075,8 +3075,6 @@ public abstract class BaseIntegrationTest {
 
         final Path pathToJava = Paths.get(javaHome, "bin", "java");
 
-        assert pathToJava.toFile().exists() : "Path to java not found";
-
         final String javaCLI = pathToJava.toAbsolutePath().toString();
 
         log.debug("Path to Java '{}'", javaCLI);

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


More information about the commits mailing list