[java-opensaml] branch maint-3.4 updated: Putative fix for windows/java11/timing related issue in tests
Rod Widdowson
rdw at steadingsoftware.com
Fri Mar 15 11:23:52 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=f7c280b640bb3b81232821a2dfbc654f28901d9e
The following commit(s) were added to refs/heads/maint-3.4 by this push:
new f7c280b Putative fix for windows/java11/timing related issue in tests
f7c280b is described below
commit f7c280b640bb3b81232821a2dfbc654f28901d9e
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Mar 15 15:23:43 2019 +0000
Putative fix for windows/java11/timing related issue in tests
---
.../opensaml/storage/impl/ServletRequestScopedStorageServiceTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/opensaml-storage-impl/src/test/java/org/opensaml/storage/impl/ServletRequestScopedStorageServiceTest.java b/opensaml-storage-impl/src/test/java/org/opensaml/storage/impl/ServletRequestScopedStorageServiceTest.java
index 7b505cd..0018418 100644
--- a/opensaml-storage-impl/src/test/java/org/opensaml/storage/impl/ServletRequestScopedStorageServiceTest.java
+++ b/opensaml-storage-impl/src/test/java/org/opensaml/storage/impl/ServletRequestScopedStorageServiceTest.java
@@ -154,7 +154,7 @@ public class ServletRequestScopedStorageServiceTest extends StorageServiceTest {
StorageRecord record = ss.read(context, Integer.toString(i));
Assert.assertNotNull(record);
Assert.assertEquals(record.getValue(), Integer.toString(i + 1));
- Assert.assertTrue(record.getExpiration() < System.currentTimeMillis() + 300000);
+ Assert.assertTrue(record.getExpiration() <= System.currentTimeMillis() + 300000);
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list