[jboss-cvs] JBoss Messaging SVN: r2456 - trunk/tests/src/org/jboss/test/thirdparty/remoting.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Feb 26 20:55:43 EST 2007


Author: ovidiu.feodorov at jboss.com
Date: 2007-02-26 20:55:42 -0500 (Mon, 26 Feb 2007)
New Revision: 2456

Modified:
   trunk/tests/src/org/jboss/test/thirdparty/remoting/RemotingConnectionFailureTest.java
Log:
adjusted test to Remoting 2.2.0.Beta1 API change too

Modified: trunk/tests/src/org/jboss/test/thirdparty/remoting/RemotingConnectionFailureTest.java
===================================================================
--- trunk/tests/src/org/jboss/test/thirdparty/remoting/RemotingConnectionFailureTest.java	2007-02-27 01:42:58 UTC (rev 2455)
+++ trunk/tests/src/org/jboss/test/thirdparty/remoting/RemotingConnectionFailureTest.java	2007-02-27 01:55:42 UTC (rev 2456)
@@ -241,7 +241,8 @@
 
       // we simulate what Messaging is doing and we
 
-      client.disconnectLocal();
+      client.setDisconnectTimeout(0);
+      client.disconnect();
 
       // the client should be "dead", in that both the connection validator and the lease pinger
       // are silenced




More information about the jboss-cvs-commits mailing list