Author: ron.sigal(a)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.
Show replies by date