[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/transport/bisocket/deadlock ...
Ron Sigal
ron_sigal at yahoo.com
Tue Dec 19 01:17:53 EST 2006
User: rsigal
Date: 06/12/19 01:17:53
Added: src/tests/org/jboss/test/remoting/transport/bisocket/deadlock
Tag: remoting_2_x
BisocketShutdownDeadlockTestCase.java
Log:
JBREM-650: Added more unit tests for bisocket transport.
Revision Changes Path
No revision
No revision
1.1.2.1 +36 -0 JBossRemoting/src/tests/org/jboss/test/remoting/transport/bisocket/deadlock/Attic/BisocketShutdownDeadlockTestCase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BisocketShutdownDeadlockTestCase.java
===================================================================
RCS file: BisocketShutdownDeadlockTestCase.java
diff -N BisocketShutdownDeadlockTestCase.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ BisocketShutdownDeadlockTestCase.java 19 Dec 2006 06:17:53 -0000 1.1.2.1
@@ -0,0 +1,36 @@
+/***************************************
+ * *
+ * JBoss: The OpenSource J2EE WebOS *
+ * *
+ * Distributable under LGPL license. *
+ * See terms of license at gnu.org. *
+ * *
+ ***************************************/
+package org.jboss.test.remoting.transport.bisocket.deadlock;
+
+import org.jboss.test.remoting.transport.socket.deadlock.ShutdownDeadlockTestCase;
+
+/**
+ * This test case is for JBREM-576.
+ * Test trys to catch deadlock in shutdown where socket client
+ * invoker being use my multiple Clients. Need one client making
+ * invocations (which will cause sync on pool) and another to
+ * shutdown, which will cause disconnect on socket client invoker,
+ * thus causing it to sync on pool for clearing out the pool.
+ * Since this is an issue of multithreading, is certainly possible
+ * this test will pass even though the deadlock issue still exists.
+ * @author <a href="mailto:tom at jboss.org">Tom Elrod</a>
+ * @author <a href="mailto:ron.sigal at jboss.org">Ron Sigal</a>
+ */
+public class BisocketShutdownDeadlockTestCase extends ShutdownDeadlockTestCase
+{
+ protected String getTransport()
+ {
+ return "bisocket";
+ }
+
+ protected int getPort()
+ {
+ return super.getPort() + 11;
+ }
+}
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list