[java-idp-integration-tests] branch main updated: Do not log exception stopping Jetty when Jetty is down

Tom Zeller tzeller at dragonacea.biz
Mon May 23 19:07:01 UTC 2022


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=bdafd902b1bc40a15c574c6b46036fbd878b0821

The following commit(s) were added to refs/heads/main by this push:
     new bdafd90  Do not log exception stopping Jetty when Jetty is down
bdafd90 is described below

commit bdafd902b1bc40a15c574c6b46036fbd878b0821
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Thu Apr 28 10:32:10 2022 -0500

    Do not log exception stopping Jetty when Jetty is down
---
 src/test/java/net/shibboleth/idp/test/AbstractServerProcess.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/net/shibboleth/idp/test/AbstractServerProcess.java b/src/test/java/net/shibboleth/idp/test/AbstractServerProcess.java
index 4d83c7b..783f526 100644
--- a/src/test/java/net/shibboleth/idp/test/AbstractServerProcess.java
+++ b/src/test/java/net/shibboleth/idp/test/AbstractServerProcess.java
@@ -489,7 +489,7 @@ public class AbstractServerProcess extends AbstractInitializableComponent implem
             }
             log.warn("Server did not stop.");
         } catch (final ConnectException e) {
-            if (e.getMessage().endsWith("Connection refused (Connection refused)")) {
+            if (e.getMessage().endsWith("Connection refused")) {
                 log.debug("Server appears to be stopped.");
             } else {
                 log.warn("Server might be stopped", e);

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


More information about the commits mailing list