[spring-extensions] branch master updated: longer delay in elapsed test

Rod Widdowson rdw at steadingsoftware.com
Mon Aug 7 07:45:14 EDT 2017


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

rdw pushed a commit to branch master
in repository spring-extensions.

View the commit online:
http://git.shibboleth.net/view/?p=spring-extensions.git;a=commit;h=c279c7cf01681d1a700b79d2ab8d7b21bc67f4c1

The following commit(s) were added to refs/heads/master by this push:
       new  c279c7c   longer delay in elapsed test
c279c7c is described below

commit c279c7cf01681d1a700b79d2ab8d7b21bc67f4c1
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Aug 7 12:45:04 2017 +0100

    longer delay in elapsed test
---
 .../java/net/shibboleth/ext/spring/resource/RunnableResourceTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/net/shibboleth/ext/spring/resource/RunnableResourceTest.java b/src/test/java/net/shibboleth/ext/spring/resource/RunnableResourceTest.java
index f94ce34..392b803 100644
--- a/src/test/java/net/shibboleth/ext/spring/resource/RunnableResourceTest.java
+++ b/src/test/java/net/shibboleth/ext/spring/resource/RunnableResourceTest.java
@@ -131,14 +131,14 @@ public class RunnableResourceTest {
         Assert.assertTrue(object.isValid(getValue(resource))); // GetValue increments
         Assert.assertTrue(object.isValid((byte) 4));
         
-        Thread.sleep(10);
+        Thread.sleep(250);
         final long modified = resource.lastModified(); // lastModified Increments
         Assert.assertTrue(object.wasUppdated());
         Assert.assertTrue(object.isValid(getValue(resource)));// GetValue increments
         Assert.assertTrue(object.isValid((byte) 6));
         
         Assert.assertTrue(modified > now);
-        Thread.sleep(10);
+        Thread.sleep(250);
         Assert.assertTrue(modified < System.currentTimeMillis());
         
     }

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


More information about the commits mailing list