[java-identity-provider] branch master updated: Increase test timing granularity.
Scott Cantor
cantor.2 at osu.edu
Thu Apr 4 10:15:04 EDT 2019
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=347a44cb8da79ff02b68802de6ddd0fc8f6733fa
The following commit(s) were added to refs/heads/master by this push:
new 347a44c Increase test timing granularity.
347a44c is described below
commit 347a44cb8da79ff02b68802de6ddd0fc8f6733fa
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Apr 4 10:15:01 2019 -0400
Increase test timing granularity.
---
.../net/shibboleth/idp/session/impl/PopulateSessionContextTest.java | 2 +-
.../net/shibboleth/idp/session/impl/SessionManagerBaseTestCase.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/idp-session-impl/src/test/java/net/shibboleth/idp/session/impl/PopulateSessionContextTest.java b/idp-session-impl/src/test/java/net/shibboleth/idp/session/impl/PopulateSessionContextTest.java
index 40a13db..57467ad 100644
--- a/idp-session-impl/src/test/java/net/shibboleth/idp/session/impl/PopulateSessionContextTest.java
+++ b/idp-session-impl/src/test/java/net/shibboleth/idp/session/impl/PopulateSessionContextTest.java
@@ -110,7 +110,7 @@ public class PopulateSessionContextTest extends SessionManagerBaseTestCase {
HttpServletRequestResponseContext.loadCurrent(new MockHttpServletRequest(), new MockHttpServletResponse());
((MockHttpServletRequest) HttpServletRequestResponseContext.getRequest()).setCookies(cookie);
- Thread.sleep(10000);
+ Thread.sleep(16000);
final Event event = action.execute(src);
ActionTestingSupport.assertProceedEvent(event);
diff --git a/idp-session-impl/src/test/java/net/shibboleth/idp/session/impl/SessionManagerBaseTestCase.java b/idp-session-impl/src/test/java/net/shibboleth/idp/session/impl/SessionManagerBaseTestCase.java
index 135e915..02ea082 100644
--- a/idp-session-impl/src/test/java/net/shibboleth/idp/session/impl/SessionManagerBaseTestCase.java
+++ b/idp-session-impl/src/test/java/net/shibboleth/idp/session/impl/SessionManagerBaseTestCase.java
@@ -62,7 +62,7 @@ public class SessionManagerBaseTestCase extends OpenSAMLInitBaseTestCase {
cookieManager.initialize();
sessionManager = new StorageBackedSessionManager();
- sessionManager.setSessionTimeout(Duration.ofSeconds(5));
+ sessionManager.setSessionTimeout(Duration.ofSeconds(15));
sessionManager.setStorageService(storageService);
sessionManager.setIDGenerator(new SecureRandomIdentifierGenerationStrategy());
sessionManager.setHttpServletRequest(requestProxy);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list