[jboss-remoting-commits] JBoss Remoting SVN: r6180 - remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/retriable.
jboss-remoting-commits at lists.jboss.org
jboss-remoting-commits at lists.jboss.org
Fri Dec 17 23:05:12 EST 2010
Author: ron.sigal at jboss.com
Date: 2010-12-17 23:05:12 -0500 (Fri, 17 Dec 2010)
New Revision: 6180
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/retriable/SocketGeneralizedExceptionTestCase.java
Log:
JBREM-1262: Added testConnectionAbortException().
Modified: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/retriable/SocketGeneralizedExceptionTestCase.java
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/retriable/SocketGeneralizedExceptionTestCase.java 2010-12-18 04:02:56 UTC (rev 6179)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/socket/retriable/SocketGeneralizedExceptionTestCase.java 2010-12-18 04:05:12 UTC (rev 6180)
@@ -133,7 +133,16 @@
log.info(getName() + " PASSES");
}
+
+ public void testConnectionAbortException() throws Throwable
+ {
+ log.info("entering " + getName());
+ exceptionToThrow = new IOException("Software caused connection abort: socket write error");
+ doTest();
+ log.info(getName() + " PASSES");
+ }
+
protected void doTest() throws Throwable
{
// Start server.
More information about the jboss-remoting-commits
mailing list