[jboss-remoting-commits] JBoss Remoting SVN: r5381 - remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/bisocket/ssl.
jboss-remoting-commits at lists.jboss.org
jboss-remoting-commits at lists.jboss.org
Wed Aug 19 22:05:04 EDT 2009
Author: ron.sigal at jboss.com
Date: 2009-08-19 22:05:04 -0400 (Wed, 19 Aug 2009)
New Revision: 5381
Modified:
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/bisocket/ssl/SSLBisocketControlConnectionReplacementTestCase.java
Log:
JBREM-1147: Allow more initial writes for jdk 1.4.
Modified: remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/bisocket/ssl/SSLBisocketControlConnectionReplacementTestCase.java
===================================================================
--- remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/bisocket/ssl/SSLBisocketControlConnectionReplacementTestCase.java 2009-08-20 02:04:33 UTC (rev 5380)
+++ remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/bisocket/ssl/SSLBisocketControlConnectionReplacementTestCase.java 2009-08-20 02:05:04 UTC (rev 5381)
@@ -88,7 +88,7 @@
public SSLTestServerSocketFactory() throws IOException
{
this.timeout = 5000;
- this.initialWrites = 2;
+ this.initialWrites = INITIAL_WRITES;
setupFactory();
}
public SSLTestServerSocketFactory(int timeout, int initialWrites) throws IOException
@@ -99,7 +99,7 @@
}
public ServerSocket createServerSocket() throws IOException
{
- ServerSocket ss = new SSLTestServerSocket(timeout, initialWrites, ((SSLServerSocket) factory.createServerSocket()));
+ ServerSocket ss = SSLServerSocketFactory.getDefault().createServerSocket();
log.info("returning: " + ss);
return ss;
}
More information about the jboss-remoting-commits
mailing list