[java-idp-integration-tests] 04/04: Use hostname-based URLs for Safari
Tom Zeller
tzeller at dragonacea.biz
Wed Jan 31 22:32:02 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=b1b63591a77bbe6e74a833496ace50e8991ce99e
commit b1b63591a77bbe6e74a833496ace50e8991ce99e
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Wed Jan 31 16:31:36 2024 -0600
Use hostname-based URLs for Safari
https://shibboleth.atlassian.net/browse/IDP-2228
---
.../idp/integration/tests/BaseIntegrationTest.java | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 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 cb35888..4fb5e93 100644
--- a/src/test/java/net/shibboleth/idp/integration/tests/BaseIntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/integration/tests/BaseIntegrationTest.java
@@ -815,18 +815,20 @@ public abstract class BaseIntegrationTest {
*/
@BeforeClass(dependsOnMethods = {"setUpAddresses", "setUpAvailablePorts"})
public void setUpBaseURLs() {
-
- // Set up Route 53 helper if necessary
- if (route53 == null) {
- route53 = new Route53Helper();
- try {
- route53.initialize();
- } catch (ComponentInitializationException e) {
- log.error("Unable to initialize Route 53 helper");
- throw new RuntimeException(e);
+
+ if (Boolean.getBoolean("DNS")) {
+ // Set up Route 53 helper if necessary
+ if (route53 == null) {
+ route53 = new Route53Helper();
+ try {
+ route53.initialize();
+ } catch (ComponentInitializationException e) {
+ log.error("Unable to initialize Route 53 helper");
+ throw new RuntimeException(e);
+ }
}
}
-
+
// Non secure URL
final URLBuilder urlBuilder = new URLBuilder();
urlBuilder.setScheme("http");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list