[jboss-cvs] JBoss Messaging SVN: r3764 - branches/Branch_JBossMessaging_1_4_0_SP3_CP/tests/src/org/jboss/test/messaging/jms/clustering.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Feb 21 20:44:14 EST 2008


Author: clebert.suconic at jboss.com
Date: 2008-02-21 20:44:14 -0500 (Thu, 21 Feb 2008)
New Revision: 3764

Modified:
   branches/Branch_JBossMessaging_1_4_0_SP3_CP/tests/src/org/jboss/test/messaging/jms/clustering/MultiThreadFailoverTest.java
Log:
Fixing test

Modified: branches/Branch_JBossMessaging_1_4_0_SP3_CP/tests/src/org/jboss/test/messaging/jms/clustering/MultiThreadFailoverTest.java
===================================================================
--- branches/Branch_JBossMessaging_1_4_0_SP3_CP/tests/src/org/jboss/test/messaging/jms/clustering/MultiThreadFailoverTest.java	2008-02-22 01:38:44 UTC (rev 3763)
+++ branches/Branch_JBossMessaging_1_4_0_SP3_CP/tests/src/org/jboss/test/messaging/jms/clustering/MultiThreadFailoverTest.java	2008-02-22 01:44:14 UTC (rev 3764)
@@ -390,7 +390,7 @@
             }
          }
 
-         Thread.sleep(2000); // 2 seconds after
+         Thread.sleep(15000); // 2 seconds after
 
          synchronized (lockWriter)
          {
@@ -572,7 +572,7 @@
             int counter = 0;
             while (true)
             {
-               Message message = consumer.receive(1000);
+               Message message = consumer.receive(5000);
                if (message == null && shouldStop)
                {
                   log.info("Finished execution of thread as shouldStop was true");




More information about the jboss-cvs-commits mailing list