[java-opensaml] branch master updated: Extend lifetimes in tests.

Scott Cantor cantor.2 at osu.edu
Wed Mar 27 09:25:40 EDT 2019


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

scantor 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=239384965a95b7bc07e834786b77ce4f03cccb85

The following commit(s) were added to refs/heads/master by this push:
       new  2393849   Extend lifetimes in tests.
2393849 is described below

commit 239384965a95b7bc07e834786b77ce4f03cccb85
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Mar 27 09:25:35 2019 -0400

    Extend lifetimes in tests.
---
 .../src/test/java/org/opensaml/storage/StorageServiceTest.java      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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 f057e14..fee097a 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
@@ -172,14 +172,14 @@ public abstract class StorageServiceTest {
         Assert.assertEquals(o1.getValue(), o2.getValue());
         
         o2.setValue("foo");
-        o2.setExpiration(System.currentTimeMillis() + 5000);
+        o2.setExpiration(System.currentTimeMillis() + 10000);
         shared.update(o2);
         
         shared.read(o1);
         Assert.assertEquals(o1.getValue(), "foo");
         Assert.assertEquals(o1.getExpiration(), o2.getExpiration());
         
-        Thread.sleep(5000);
+        Thread.sleep(10000);
         
         Assert.assertNull(shared.read(o2));
     }
@@ -199,7 +199,7 @@ public abstract class StorageServiceTest {
             context = Long.toString(random.nextLong());
             key = Long.toString(random.nextLong());
             value = Long.toString(random.nextLong());
-            expiration = System.currentTimeMillis() + 5000;
+            expiration = System.currentTimeMillis() + 60000;
         }
         
         public String getContext() {

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


More information about the commits mailing list