[jboss-cvs] JBossAS SVN: r59184 - branches/Branch_4_2/testsuite/src/main/org/jboss/test/cluster/test

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Dec 20 21:54:57 EST 2006


Author: bstansberry at jboss.com
Date: 2006-12-20 21:54:55 -0500 (Wed, 20 Dec 2006)
New Revision: 59184

Modified:
   branches/Branch_4_2/testsuite/src/main/org/jboss/test/cluster/test/SessionBasedConcurrentTestCase.java
Log:
Add a sleep for async repl

Modified: branches/Branch_4_2/testsuite/src/main/org/jboss/test/cluster/test/SessionBasedConcurrentTestCase.java
===================================================================
--- branches/Branch_4_2/testsuite/src/main/org/jboss/test/cluster/test/SessionBasedConcurrentTestCase.java	2006-12-21 02:01:49 UTC (rev 59183)
+++ branches/Branch_4_2/testsuite/src/main/org/jboss/test/cluster/test/SessionBasedConcurrentTestCase.java	2006-12-21 02:54:55 UTC (rev 59184)
@@ -150,6 +150,9 @@
             // Get the Attribute set by testsessionreplication.jsp
             attr = makeGetWithState(client, baseURL0 +getURLName);
 
+            // Give a lot of time for async replication to avoid spurious failures
+            sleepThread(1000);
+
             // Let's switch to server 2 to retrieve the session attribute.
             getLog().debug("Switching to server " +server2);
             setCookieDomainToThisServer(client, server2);




More information about the jboss-cvs-commits mailing list