[java-identity-provider] branch master updated: Attempt to fix some test errors from Jenkins builds.
Brent Putman
putmanb at georgetown.edu
Wed Aug 21 19:50:14 EDT 2019
This is an automated email from the git hooks/post-receive script.
putmanb pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=b8ba6704ad5a6110a9f2ba3a9b5949bfc54865c0
The following commit(s) were added to refs/heads/master by this push:
new b8ba670 Attempt to fix some test errors from Jenkins builds.
b8ba670 is described below
commit b8ba6704ad5a6110a9f2ba3a9b5949bfc54865c0
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Wed Aug 21 19:50:12 2019 -0400
Attempt to fix some test errors from Jenkins builds.
---
.../relyingparty/metadata/DynamicHTTPMetadataProviderParserTest.java | 4 ++--
.../relyingparty/metadata/LocalDynamicMetadataProviderParserTest.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/DynamicHTTPMetadataProviderParserTest.java b/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/DynamicHTTPMetadataProviderParserTest.java
index 4e8d5e5..dd7c089 100644
--- a/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/DynamicHTTPMetadataProviderParserTest.java
+++ b/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/DynamicHTTPMetadataProviderParserTest.java
@@ -68,7 +68,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertTrue(resolver.getIndexes().isEmpty());
Assert.assertEquals(resolver.getNegativeLookupCacheDuration(), Duration.ofMinutes(10));
- Assert.assertEquals(resolver.getRefreshDelayFactor(), 0.75f);
+ Assert.assertEquals(resolver.getRefreshDelayFactor().floatValue(), 0.75f);
Assert.assertEquals(resolver.getMinCacheDuration(), Duration.ofMinutes(10));
Assert.assertEquals(resolver.getMaxCacheDuration(), Duration.ofHours(8));
Assert.assertEquals(resolver.getMaxIdleEntityData(), Duration.ofHours(8));
@@ -199,7 +199,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertNotNull(resolver.getParserPool());
Assert.assertEquals(resolver.getNegativeLookupCacheDuration(), Duration.ofMinutes(5));
- Assert.assertEquals(resolver.getRefreshDelayFactor(), 0.50f);
+ Assert.assertEquals(resolver.getRefreshDelayFactor().floatValue(), 0.50f);
Assert.assertEquals(resolver.getMinCacheDuration(), Duration.ofMinutes(5));
Assert.assertEquals(resolver.getMaxCacheDuration(), Duration.ofHours(4));
Assert.assertEquals(resolver.getMaxIdleEntityData(), Duration.ofHours(2));
diff --git a/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/LocalDynamicMetadataProviderParserTest.java b/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/LocalDynamicMetadataProviderParserTest.java
index 12ea9fa..8cd8939 100644
--- a/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/LocalDynamicMetadataProviderParserTest.java
+++ b/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/LocalDynamicMetadataProviderParserTest.java
@@ -79,7 +79,7 @@ public class LocalDynamicMetadataProviderParserTest extends AbstractMetadataPars
Assert.assertNotNull(resolver.getParserPool());
Assert.assertEquals(resolver.getNegativeLookupCacheDuration(), Duration.ofMinutes(10));
- Assert.assertEquals(resolver.getRefreshDelayFactor(), 0.75f);
+ Assert.assertEquals(resolver.getRefreshDelayFactor().floatValue(), 0.75f);
Assert.assertEquals(resolver.getMinCacheDuration(), Duration.ofMinutes(10));
Assert.assertEquals(resolver.getMaxCacheDuration(), Duration.ofHours(8));
Assert.assertEquals(resolver.getMaxIdleEntityData(), Duration.ofHours(8));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list