[java-idp-integration-tests] 01/05: Avoid NPE in logs when running on Sauce Labs
Tom Zeller
tzeller at dragonacea.biz
Wed Jun 9 18:54:09 UTC 2021
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=1d4c36be5411812f8dc9024820764dda295c4b80
commit 1d4c36be5411812f8dc9024820764dda295c4b80
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Wed Jun 9 13:33:19 2021 -0500
Avoid NPE in logs when running on Sauce Labs
---
.../java/net/shibboleth/idp/test/CustomSauceOnDemandTestListener.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/test/java/net/shibboleth/idp/test/CustomSauceOnDemandTestListener.java b/src/test/java/net/shibboleth/idp/test/CustomSauceOnDemandTestListener.java
index 3ab5354..a2eac67 100644
--- a/src/test/java/net/shibboleth/idp/test/CustomSauceOnDemandTestListener.java
+++ b/src/test/java/net/shibboleth/idp/test/CustomSauceOnDemandTestListener.java
@@ -67,6 +67,10 @@ public class CustomSauceOnDemandTestListener extends SauceOnDemandTestListener {
*/
@Override
public void onTestSuccess(ITestResult tr) {
+ if (!BaseIntegrationTest.isRemote()) {
+ return;
+ }
+
super.onTestSuccess(tr);
if (printPublicJobLinkOnSuccess && BaseIntegrationTest.isRemote()) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list