[java-idp-integration-tests] 01/02: Reduce expected exception logging

Tom Zeller tzeller at dragonacea.biz
Sun Jul 14 21:44:09 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=c9e8feaeeb7ec8ecfe70e321802cade7fe3a2a16

commit c9e8feaeeb7ec8ecfe70e321802cade7fe3a2a16
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Sun Jul 14 16:40:14 2024 -0500

    Reduce expected exception logging
---
 .../java/net/shibboleth/idp/integration/tests/BaseIntegrationTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 c290c52..f62413c 100644
--- a/src/test/java/net/shibboleth/idp/integration/tests/BaseIntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/integration/tests/BaseIntegrationTest.java
@@ -2122,7 +2122,7 @@ public abstract class BaseIntegrationTest {
                 }
             });
         } catch (final StaleElementReferenceException e) {
-            log.debug("Caught StaleElementReferenceException, will try again...", e);
+            log.debug("Caught StaleElementReferenceException, will try again, error is '{}'", e.getMessage());
             (new WebDriverWait(driver, Duration.ofSeconds(10))).until(new ExpectedCondition<Boolean>() {
                 public Boolean apply(WebDriver d) {
                     return d.findElement(By.tagName("body")).getText().startsWith(prefix);

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


More information about the commits mailing list