[java-opensaml] branch maint-3.4 updated: Add dither to a delay to handle the windows granulaorty issue in java >= 11
Rod Widdowson
rdw at steadingsoftware.com
Mon May 20 12:25:53 EDT 2019
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch maint-3.4
in repository java-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=880c44957e3961a5a5ed33bbb2084fd7b0b1a14c
The following commit(s) were added to refs/heads/maint-3.4 by this push:
new 880c449 Add dither to a delay to handle the windows granulaorty issue in java >= 11
880c449 is described below
commit 880c44957e3961a5a5ed33bbb2084fd7b0b1a14c
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon May 20 17:23:59 2019 +0100
Add dither to a delay to handle the windows granulaorty issue in java >= 11
---
.../saml/metadata/resolver/impl/LocalDynamicMetadataResolverTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/LocalDynamicMetadataResolverTest.java b/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/LocalDynamicMetadataResolverTest.java
index f4a5458..0fb6131 100644
--- a/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/LocalDynamicMetadataResolverTest.java
+++ b/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/LocalDynamicMetadataResolverTest.java
@@ -104,7 +104,7 @@ public class LocalDynamicMetadataResolverTest extends XMLObjectBaseTestCase {
sourceManager.save(sha1Digester.apply(entityID2), entity2);
// Wait for the negative lookup cache to expire
- Uninterruptibles.sleepUninterruptibly(resolver.getNegativeLookupCacheDuration(), TimeUnit.MILLISECONDS);
+ Uninterruptibles.sleepUninterruptibly(resolver.getNegativeLookupCacheDuration()+150, TimeUnit.MILLISECONDS);
// Now should be resolveable
Assert.assertSame(resolver.resolveSingle(new CriteriaSet(new EntityIdCriterion(entityID2))), entity2);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list