[java-opensaml] branch maint-3.4 updated: Add dither to a delay to handle the windows granularity issue in java >= 11

Rod Widdowson rdw at steadingsoftware.com
Mon May 20 12:32:00 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=6d912a2594f70d9c09f13d295933f9a425813394

The following commit(s) were added to refs/heads/maint-3.4 by this push:
       new  6d912a2   Add dither to a delay to handle the windows granularity issue in java >= 11
6d912a2 is described below

commit 6d912a2594f70d9c09f13d295933f9a425813394
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon May 20 17:30:49 2019 +0100

    Add dither to a delay to handle the windows granularity issue in java >= 11
---
 .../src/test/java/org/opensaml/storage/StorageServiceTest.java          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opensaml-storage-api/src/test/java/org/opensaml/storage/StorageServiceTest.java b/opensaml-storage-api/src/test/java/org/opensaml/storage/StorageServiceTest.java
index 848feab..e7c09a8 100644
--- a/opensaml-storage-api/src/test/java/org/opensaml/storage/StorageServiceTest.java
+++ b/opensaml-storage-api/src/test/java/org/opensaml/storage/StorageServiceTest.java
@@ -125,7 +125,7 @@ public abstract class StorageServiceTest {
             shared.create(context, Integer.toString(i), Integer.toString(i + 1), System.currentTimeMillis() + 5000);
         }
 
-        Thread.sleep(5000);
+        Thread.sleep(5150);
         
         for (int i = 1; i <= 100; i++) {
             StorageRecord rec = shared.read(context, Integer.toString(i));

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


More information about the commits mailing list