Author: ron.sigal(a)jboss.com
Date: 2011-03-01 16:31:32 -0500 (Tue, 01 Mar 2011)
New Revision: 6269
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/bisocket/dos/DosTestCase.java
Log:
JBREM-1275: Changed "dosMaxThreads" and "dosTimeout" to
"secondaryMaxThreads" and
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/bisocket/dos/DosTestCase.java
===================================================================
---
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/bisocket/dos/DosTestCase.java 2011-02-28
22:53:50 UTC (rev 6268)
+++
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/bisocket/dos/DosTestCase.java 2011-03-01
21:31:32 UTC (rev 6269)
@@ -215,7 +215,7 @@
public void testConfigurationDefault() throws Throwable
{
log.info("entering " + getName());
- doConfigurationTest(false, false, Bisocket.DOS_MAX_THREADS_DEFAULT,
Bisocket.DOS_TIMEOUT_DEFAULT);
+ doConfigurationTest(false, false, Bisocket.SECONDARY_MAX_THREADS_DEFAULT,
Bisocket.SECONDARY_TIMEOUT_DEFAULT);
log.info(getName() + " PASSES");
}
@@ -325,13 +325,13 @@
{
if (useInvokerLocator)
{
- locatorURI += "&" + Bisocket.DOS_MAX_THREADS + "=" +
Integer.toString(dosMaxThreadsValue);
- locatorURI += "&" + Bisocket.DOS_TIMEOUT + "=" +
Integer.toString(dosTimeoutValue);
+ locatorURI += "&" + Bisocket.SECONDARY_MAX_THREADS +
"=" + Integer.toString(dosMaxThreadsValue);
+ locatorURI += "&" + Bisocket.SECONDARY_TIMEOUT + "="
+ Integer.toString(dosTimeoutValue);
}
else
{
- config.put(Bisocket.DOS_MAX_THREADS, Integer.toString(dosMaxThreadsValue));
- config.put(Bisocket.DOS_TIMEOUT, Integer.toString(dosTimeoutValue));
+ config.put(Bisocket.SECONDARY_MAX_THREADS,
Integer.toString(dosMaxThreadsValue));
+ config.put(Bisocket.SECONDARY_TIMEOUT, Integer.toString(dosTimeoutValue));
}
}
serverLocator = new InvokerLocator(locatorURI);