From a80a65c525ad7730cec01da8c5b8688f118aeecd Mon Sep 17 00:00:00 2001 From: mhajas Date: Wed, 24 Feb 2016 09:34:28 +0100 Subject: [PATCH] Modified session length --- .../testsuite/mod_auth_mellon/ModAuthMellonTest.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/testsuite/integration-arquillian/tests/other/mod_auth_mellon/src/test/java/org/keycloak/testsuite/mod_auth_mellon/ModAuthMellonTest.java b/testsuite/integration-arquillian/tests/other/mod_auth_mellon/src/test/java/org/keycloak/testsuite/mod_auth_mellon/ModAuthMellonTest.java index 8166a22da7..2eebd9cf19 100644 --- a/testsuite/integration-arquillian/tests/other/mod_auth_mellon/src/test/java/org/keycloak/testsuite/mod_auth_mellon/ModAuthMellonTest.java +++ b/testsuite/integration-arquillian/tests/other/mod_auth_mellon/src/test/java/org/keycloak/testsuite/mod_auth_mellon/ModAuthMellonTest.java @@ -56,7 +56,7 @@ public class ModAuthMellonTest extends AbstractAuthTest { modAuthMellonProtectedResourcePage2.navigateTo(); URLAssert.assertCurrentUrlStartsWith(testRealmSAMLRedirectLoginPage); - pause(2000); //session length + pause(5000); //session length modAuthMellonProtectedResourcePage.navigateTo(); URLAssert.assertCurrentUrlStartsWith(testRealmSAMLRedirectLoginPage); @@ -76,15 +76,11 @@ public class ModAuthMellonTest extends AbstractAuthTest { @Test public void sessionExpiration() { - RealmRepresentation realm = testRealmResource().toRepresentation(); - realm.setSsoSessionIdleTimeout(2); - testRealmResource().update(realm); - modAuthMellonProtectedResourcePage.navigateTo(); testRealmSAMLRedirectLoginPage.form().login(bburkeUser); assertTrue(driver.getPageSource().contains("Protected resource")); - pause(2000); //session length + pause(5000); //session length modAuthMellonProtectedResourcePage.navigateTo(); URLAssert.assertCurrentUrlStartsWith(testRealmSAMLRedirectLoginPage);