~ubuntu-branches/ubuntu/raring/libjboss-remoting-java/raring

« back to all changes in this revision

Viewing changes to tests/org/jboss/test/remoting/transport/bisocket/deadlock/BisocketShutdownDeadlockTestCase.java

  • Committer: Package Import Robot
  • Author(s): Torsten Werner
  • Date: 2011-09-09 14:01:03 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: package-import@ubuntu.com-20110909140103-hqokx61534tas9rg
Tags: 2.5.3.SP1-1
* Newer but not newest upstream release. Do not build samples.
* Change debian/watch to upstream's svn repo.
* Add patch to fix compile error caused by tomcat update.
  (Closes: #628303)
* Switch to source format 3.0.
* Switch to debhelper level 7.
* Remove useless Depends.
* Update Standards-Version: 3.9.2.
* Update README.source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************
2
 
 *                                     *
3
 
 *  JBoss: The OpenSource J2EE WebOS   *
4
 
 *                                     *
5
 
 *  Distributable under LGPL license.  *
6
 
 *  See terms of license at gnu.org.   *
7
 
 *                                     *
8
 
 ***************************************/
9
 
package org.jboss.test.remoting.transport.bisocket.deadlock;
10
 
 
11
 
import org.jboss.test.remoting.transport.socket.deadlock.ShutdownDeadlockTestCase;
12
 
 
13
 
/**
14
 
 * This test case is for JBREM-576.
15
 
 * Test trys to catch deadlock in shutdown where socket client
16
 
 * invoker being use my multiple Clients.  Need one client making
17
 
 * invocations (which will cause sync on pool) and another to
18
 
 * shutdown, which will cause disconnect on socket client invoker,
19
 
 * thus causing it to sync on pool for clearing out the pool.
20
 
 * Since this is an issue of multithreading, is certainly possible
21
 
 * this test will pass even though the deadlock issue still exists.
22
 
 * @author <a href="mailto:tom@jboss.org">Tom Elrod</a>
23
 
 * @author <a href="mailto:ron.sigal@jboss.org">Ron Sigal</a>
24
 
 */
25
 
public class BisocketShutdownDeadlockTestCase extends ShutdownDeadlockTestCase
26
 
{
27
 
   protected String getTransport()
28
 
   {
29
 
      return "bisocket";
30
 
   }
31
 
   
32
 
   protected int getPort()
33
 
   {
34
 
      return super.getPort() + 11;
35
 
   }
36
 
}
 
 
b'\\ No newline at end of file'