[java-oidc-common] branch main updated: 'Fix' unstable test Introduce a cope with Windows apparantly larger time granularity

Rod Widdowson rdw at steadingsoftware.com
Fri Oct 15 12:32:01 UTC 2021


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

rdw pushed a commit to branch main
in repository java-oidc-common.

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

The following commit(s) were added to refs/heads/main by this push:
     new e843dbb  'Fix'  unstable test Introduce a cope with Windows apparantly larger time granularity
e843dbb is described below

commit e843dbb621e1ce4926669bf532b2b70f0a27f784
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Oct 15 13:31:53 2021 +0100

    'Fix'  unstable test
    Introduce a cope with Windows apparantly larger time granularity
---
 .../shibboleth/oidc/metadata/cache/impl/DynamicMetadataCacheTest.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/oidc-common-metadata-impl/src/test/java/net/shibboleth/oidc/metadata/cache/impl/DynamicMetadataCacheTest.java b/oidc-common-metadata-impl/src/test/java/net/shibboleth/oidc/metadata/cache/impl/DynamicMetadataCacheTest.java
index 59954e8..0a7b1a4 100644
--- a/oidc-common-metadata-impl/src/test/java/net/shibboleth/oidc/metadata/cache/impl/DynamicMetadataCacheTest.java
+++ b/oidc-common-metadata-impl/src/test/java/net/shibboleth/oidc/metadata/cache/impl/DynamicMetadataCacheTest.java
@@ -267,6 +267,7 @@ public class DynamicMetadataCacheTest {
         // should have been created now
         assertTrue(mgmtData.getLastUpdateTime().equals(now));
         
+        Thread.sleep(200);
         cache.get(new CriteriaSet(new IssuerIDCriterion(iss)));
         
         // should have been updated after now

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list