[jboss-remoting-commits] JBoss Remoting SVN: r6182 - remoting2/branches/2.2/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:08:47 EST 2010


Author: ron.sigal at jboss.com
Date: 2010-12-17 23:08:47 -0500 (Fri, 17 Dec 2010)
New Revision: 6182

Modified:
   remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/socket/retriable/SocketGeneralizedExceptionTestCase.java
Log:
JBREM-1262: Added testConnectionAbortException().

Modified: remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/socket/retriable/SocketGeneralizedExceptionTestCase.java
===================================================================
--- remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/socket/retriable/SocketGeneralizedExceptionTestCase.java	2010-12-18 04:08:10 UTC (rev 6181)
+++ remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/socket/retriable/SocketGeneralizedExceptionTestCase.java	2010-12-18 04:08:47 UTC (rev 6182)
@@ -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