[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/transport/socket/oneway ...
Ron Sigal
ron_sigal at yahoo.com
Thu Jul 12 02:50:38 EDT 2007
User: rsigal
Date: 07/07/12 02:50:38
Modified: src/tests/org/jboss/test/remoting/transport/socket/oneway
Tag: remoting_2_x
OnewayConnectionManagerTestCase.java
Log:
JBREM-706: Give invocations another 1000 ms to start in testHeavyLoadWithTimeouts().
Revision Changes Path
No revision
No revision
1.1.2.4 +3 -3 JBossRemoting/src/tests/org/jboss/test/remoting/transport/socket/oneway/Attic/OnewayConnectionManagerTestCase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: OnewayConnectionManagerTestCase.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/transport/socket/oneway/Attic/OnewayConnectionManagerTestCase.java,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -b -r1.1.2.3 -r1.1.2.4
--- OnewayConnectionManagerTestCase.java 6 Jul 2007 06:24:31 -0000 1.1.2.3
+++ OnewayConnectionManagerTestCase.java 12 Jul 2007 06:50:38 -0000 1.1.2.4
@@ -53,7 +53,7 @@
* Tests the oneway connection timer task in MicroSocketClientInvoker.
*
* @author <a href="ron.sigal at jboss.com">Ron Sigal</a>
- * @version $Revision: 1.1.2.3 $
+ * @version $Revision: 1.1.2.4 $
* <p>
* Copyright Jun 23, 2007
* </p>
@@ -467,10 +467,10 @@
}
go = true;
- Thread.sleep(1000);
+ Thread.sleep(2000);
// Verify first set of invocations were received.
- assertEquals(100, handler.startedCount);
+ assertTrue(100 <= handler.startedCount);
Thread.sleep(7000);
// Verify rest of invocations were received.
More information about the jboss-cvs-commits
mailing list