[jboss-remoting-commits] JBoss Remoting SVN: r4040 - remoting2/branches/2.x/src/tests/org/jboss/test/remoting/util.
jboss-remoting-commits at lists.jboss.org
jboss-remoting-commits at lists.jboss.org
Tue Apr 22 20:12:28 EDT 2008
Author: ron.sigal at jboss.com
Date: 2008-04-22 20:12:28 -0400 (Tue, 22 Apr 2008)
New Revision: 4040
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/util/PortUtilTestCase.java
Log:
JBREM-966: (1) Increased size of portArray[]; (2) fixed comparison with countToWait.
Modified: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/util/PortUtilTestCase.java
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/util/PortUtilTestCase.java 2008-04-22 17:46:44 UTC (rev 4039)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/util/PortUtilTestCase.java 2008-04-23 00:12:28 UTC (rev 4040)
@@ -41,7 +41,7 @@
public void setUp()
{
- portArray = new byte[20000];
+ portArray = new byte[65536];
}
public void testFindingFreePorts()
@@ -83,7 +83,7 @@
{
countToWait.increment();
- if(countToWait.get() < maxWaitNumber)
+ if(countToWait.get() > maxWaitNumber)
{
break;
}
More information about the jboss-remoting-commits
mailing list