[java-opensaml] branch maint-4 updated: Reenable failing test with localized 404 URL.
Scott Cantor
cantor.2 at osu.edu
Tue Nov 7 15:19:26 UTC 2023
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch maint-4
in repository java-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=022a2cd656bb60ccdd5857fd3470d248a1c5a145
The following commit(s) were added to refs/heads/maint-4 by this push:
new 022a2cd65 Reenable failing test with localized 404 URL.
022a2cd65 is described below
commit 022a2cd656bb60ccdd5857fd3470d248a1c5a145
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Nov 7 09:08:25 2023 -0500
Reenable failing test with localized 404 URL.
---
.../metadata/resolver/impl/FileBackedHTTPMetadataResolverTest.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/FileBackedHTTPMetadataResolverTest.java b/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/FileBackedHTTPMetadataResolverTest.java
index a9b965c28..ec8345fa9 100644
--- a/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/FileBackedHTTPMetadataResolverTest.java
+++ b/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/FileBackedHTTPMetadataResolverTest.java
@@ -78,7 +78,7 @@ public class FileBackedHTTPMetadataResolverTest extends XMLObjectBaseTestCase {
metadataURLHttp = RepositorySupport.buildHTTPResourceURL("java-opensaml", String.format("opensaml-saml-impl/src/test/resources/%s", relativeMDResource), false);
entityID = "https://www.example.org/sp";
- badMDURL = "http://www.opensaml.org/foo/bar/baz/samlmd";
+ badMDURL = "https://test.shibboleth.net/foo/bar/baz/samlmd";
backupFilePath = System.getProperty("java.io.tmpdir") + System.getProperty("file.separator")
+ "filebacked-http-metadata.xml";
backupFile = new File(backupFilePath);
@@ -403,6 +403,8 @@ public class FileBackedHTTPMetadataResolverTest extends XMLObjectBaseTestCase {
Assert.assertTrue(backupFile.exists(), "Backup file was not created");
Assert.assertTrue(backupFile.length() > 0, "Backup file contains no data");
+ httpClientBuilder.setConnectionDisregardTLSCertificate(true);
+
metadataProvider = new FileBackedHTTPMetadataResolver(httpClientBuilder.buildClient(), badMDURL, backupFilePath);
metadataProvider.setParserPool(parserPool);
metadataProvider.setFailFastInitialization(true);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list