[java-identity-provider] branch maint-3.4 updated: Alleviate test failures.

Rod Widdowson rdw at steadingsoftware.com
Sun Oct 27 09:22:57 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-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=abb5d7028f06ba1f3ccdcc0f3037b771a844d767

The following commit(s) were added to refs/heads/maint-3.4 by this push:
       new  abb5d70   Alleviate test failures.
abb5d70 is described below

commit abb5d7028f06ba1f3ccdcc0f3037b771a844d767
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sun Oct 27 13:22:24 2019 +0000

    Alleviate test failures.
    
    Allow for windows to stall a thread for 10 seconds, not 1
---
 .../test/java/net/shibboleth/idp/installer/TestMetadataGenerator.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/idp-installer/src/test/java/net/shibboleth/idp/installer/TestMetadataGenerator.java b/idp-installer/src/test/java/net/shibboleth/idp/installer/TestMetadataGenerator.java
index 7a84a60..a7ecf42 100644
--- a/idp-installer/src/test/java/net/shibboleth/idp/installer/TestMetadataGenerator.java
+++ b/idp-installer/src/test/java/net/shibboleth/idp/installer/TestMetadataGenerator.java
@@ -65,8 +65,8 @@ public class TestMetadataGenerator extends XMLObjectBaseTestCase {
             final EntityDescriptor entity = (EntityDescriptor) unmarshallElement(out.getAbsolutePath());
             
             final DateTime validUntil = entity.getValidUntil();
-            Assert.assertTrue(validUntil.isBefore(1000 + System.currentTimeMillis()));
-            Assert.assertTrue(validUntil.isAfter(System.currentTimeMillis()-1000));
+            Assert.assertTrue(validUntil.isBefore(10000 + System.currentTimeMillis()));
+            Assert.assertTrue(validUntil.isAfter(System.currentTimeMillis()-10000));
             
             
             final IDPSSODescriptor idpsso = entity.getIDPSSODescriptor(SAMLConstants.SAML20P_NS);

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


More information about the commits mailing list