[jboss-cvs] JBossAS SVN: r108867 - branches/infinispan-int/testsuite/src/main/org/jboss/test/web/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Oct 24 21:54:11 EDT 2010


Author: smarlow at redhat.com
Date: 2010-10-24 21:54:11 -0400 (Sun, 24 Oct 2010)
New Revision: 108867

Modified:
   branches/infinispan-int/testsuite/src/main/org/jboss/test/web/test/ClusteredSingleSignOnUnitTestCase.java
Log:
log more info

Modified: branches/infinispan-int/testsuite/src/main/org/jboss/test/web/test/ClusteredSingleSignOnUnitTestCase.java
===================================================================
--- branches/infinispan-int/testsuite/src/main/org/jboss/test/web/test/ClusteredSingleSignOnUnitTestCase.java	2010-10-25 00:35:27 UTC (rev 108866)
+++ branches/infinispan-int/testsuite/src/main/org/jboss/test/web/test/ClusteredSingleSignOnUnitTestCase.java	2010-10-25 01:54:11 UTC (rev 108867)
@@ -249,7 +249,7 @@
       SSOBaseCase.executeFormLogin(httpConn, warA3);
       String ssoID = SSOBaseCase.processSSOCookie(state, serverA, serverB);
       log.debug("Saw JSESSIONIDSSO="+ssoID);
-
+      log.info("stage1, sleep for 15 seconds");
       // Wait more than 15 secs to let session time out
       // It's life is 5 secs and the processor runs every 10
       try {
@@ -259,11 +259,11 @@
       {
          log.debug("Interrupted while waiting for session expiration");
       }
-      
+      log.info("stage2, finished 15 second sleep, session should be expired (but not the SSO)");
       // Try accessing war3 again on both nodes -- should succeed
       SSOBaseCase.checkAccessAllowed(httpConn, warA3 + "index.jsp");
       SSOBaseCase.checkAccessAllowed(httpConn, warB3 + "index.jsp");
-
+      log.info("stage3, sleep for 31 seconds");
       // Wait more than 30 secs to let SSO time out -- 15 for the sessions
       // (as above) and 15 for the SSOs maxEmptyLife (plus 1.5 seconds of fluff)
       try {
@@ -273,7 +273,7 @@
       {
          log.debug("Interrupted while waiting for SSO expiration");
       }
-      
+      log.info("stage4, finished 31 second sleep, SSO session should be expired");      
       // Try accessing war3 again on both nodes -- should fail
       SSOBaseCase.checkAccessDenied(httpConn, warA3 + "index.jsp");
       SSOBaseCase.checkAccessDenied(httpConn, warB3 + "index.jsp");



More information about the jboss-cvs-commits mailing list