[jboss-cvs] JBoss Messaging SVN: r2419 - trunk/tests/src/org/jboss/test/messaging/jms/clustering.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Feb 24 13:10:29 EST 2007


Author: clebert.suconic at jboss.com
Date: 2007-02-24 13:10:28 -0500 (Sat, 24 Feb 2007)
New Revision: 2419

Modified:
   trunk/tests/src/org/jboss/test/messaging/jms/clustering/FailoverValveTest.java
Log:
Commenting out invalid testCase

Modified: trunk/tests/src/org/jboss/test/messaging/jms/clustering/FailoverValveTest.java
===================================================================
--- trunk/tests/src/org/jboss/test/messaging/jms/clustering/FailoverValveTest.java	2007-02-24 13:49:41 UTC (rev 2418)
+++ trunk/tests/src/org/jboss/test/messaging/jms/clustering/FailoverValveTest.java	2007-02-24 18:10:28 UTC (rev 2419)
@@ -195,7 +195,13 @@
    }
 
 
-   public void testConcurrentClose() throws Exception
+   // This testcase is invalid!
+   // You can't close the valve until all the threads are completed...
+   // or all threads are trying to close the valve.
+   //
+   // You can call close whenever you want.. .but you can't complete that execution
+   //   if there is a thread holding a readLock.
+   /*public void testConcurrentClose() throws Exception
    {
       int THREAD_COUNT = 10;
       final FailoverValve valve = new FailoverValve(10000);
@@ -283,7 +289,7 @@
          assertNull(o);
          assertEquals("CLOSED", o);
       }
-   }
+   }  TODO: Delete this TestCase... I'm keeping it for now! */
 
 
    // Package protected ----------------------------------------------------------------------------




More information about the jboss-cvs-commits mailing list