[jboss-cvs] JBoss Messaging SVN: r2086 - trunk/tests/src/org/jboss/test/thirdparty/remoting.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sun Jan 28 19:36:22 EST 2007
Author: ovidiu.feodorov at jboss.com
Date: 2007-01-28 19:36:22 -0500 (Sun, 28 Jan 2007)
New Revision: 2086
Modified:
trunk/tests/src/org/jboss/test/thirdparty/remoting/RemotingConnectionFailureTest.java
Log:
http://jira.jboss.org/jira/browse/JBMESSAGING-786 again
Modified: trunk/tests/src/org/jboss/test/thirdparty/remoting/RemotingConnectionFailureTest.java
===================================================================
--- trunk/tests/src/org/jboss/test/thirdparty/remoting/RemotingConnectionFailureTest.java 2007-01-29 00:06:08 UTC (rev 2085)
+++ trunk/tests/src/org/jboss/test/thirdparty/remoting/RemotingConnectionFailureTest.java 2007-01-29 00:36:22 UTC (rev 2086)
@@ -77,9 +77,14 @@
}
catch(CannotConnectException e)
{
- // if the client throws CannotConnectException, we're fine, this is our
- // FailoverValveInteceptor is looking after
+ // This happens for HTTP clients - if the client throws CannotConnectException, we're fine,
+ // this is what our FailoverValveInteceptor is looking after
}
+ catch(IOException e)
+ {
+ // This happens for socket clients - if the client throws IOException subclass, we're fine,
+ // this is what our FailoverValveInteceptor is looking after
+ }
}
public void testDeadServerNoPreviousInvocation() throws Throwable
More information about the jboss-cvs-commits
mailing list