[java-opensaml] branch master 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:26:07 EDT 2019


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch master
in repository java-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=eedad3feb70c747d0a4882e84bfb5efd8ec83377

The following commit(s) were added to refs/heads/master by this push:
       new  eedad3f   Add dither to a delay to handle the windows granulaorty issue in java >= 11
eedad3f is described below

commit eedad3feb70c747d0a4882e84bfb5efd8ec83377
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 ef0b50c..7efd053 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
@@ -105,7 +105,7 @@ public class LocalDynamicMetadataResolverTest extends XMLObjectBaseTestCase {
         sourceManager.save(sha1Digester.apply(entityID2), entity2);
         
         // Wait for the negative lookup cache to expire
-        Uninterruptibles.sleepUninterruptibly(resolver.getNegativeLookupCacheDuration().toMillis(), TimeUnit.MILLISECONDS);
+        Uninterruptibles.sleepUninterruptibly(resolver.getNegativeLookupCacheDuration().toMillis()+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