[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/transport/socket/timeout ...
Ron Sigal
ron_sigal at yahoo.com
Wed Dec 20 04:12:15 EST 2006
User: rsigal
Date: 06/12/20 04:12:15
Modified: src/tests/org/jboss/test/remoting/transport/socket/timeout
Tag: remoting_2_x TimeoutServerTest.java
Log:
JBREM-650: Added getTransport().
Revision Changes Path
No revision
No revision
1.5.4.1 +7 -1 JBossRemoting/src/tests/org/jboss/test/remoting/transport/socket/timeout/TimeoutServerTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TimeoutServerTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/transport/socket/timeout/TimeoutServerTest.java,v
retrieving revision 1.5
retrieving revision 1.5.4.1
diff -u -b -r1.5 -r1.5.4.1
--- TimeoutServerTest.java 8 Jun 2006 02:29:27 -0000 1.5
+++ TimeoutServerTest.java 20 Dec 2006 09:12:15 -0000 1.5.4.1
@@ -40,13 +40,19 @@
public class TimeoutServerTest extends ServerTestCase
{
// private String locatorURI = "socket://localhost:8899/?timeout=3000";
- private String locatorURI = "socket://localhost:8899";
+// private String locatorURI = "socket://localhost:8899";
private Connector connector = null;
+ protected String getTransport()
+ {
+ return "socket";
+ }
+
public void setUp() throws Exception
{
Map config = new HashMap();
config.put("timeout", "3000");
+ String locatorURI = getTransport() + "://localhost:8899";
InvokerLocator locator = new InvokerLocator(locatorURI);
connector = new Connector(locator, config);
connector.create();
More information about the jboss-cvs-commits
mailing list