[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/loader/deadlock ...

Manik Surtani msurtani at jboss.com
Sun Nov 26 09:59:59 EST 2006


  User: msurtani
  Date: 06/11/26 09:59:59

  Modified:    tests/functional/org/jboss/cache/loader/deadlock  Tag:
                        Branch_JBossCache_1_3_0
                        ConcurrentCreationDeadlockTest.java
  Log:
  Commented out hack on removing contention on root
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.3   +4 -5      JBossCache/tests/functional/org/jboss/cache/loader/deadlock/ConcurrentCreationDeadlockTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ConcurrentCreationDeadlockTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/loader/deadlock/ConcurrentCreationDeadlockTest.java,v
  retrieving revision 1.2.2.2
  retrieving revision 1.2.2.3
  diff -u -b -r1.2.2.2 -r1.2.2.3
  --- ConcurrentCreationDeadlockTest.java	26 Nov 2006 14:27:38 -0000	1.2.2.2
  +++ ConcurrentCreationDeadlockTest.java	26 Nov 2006 14:59:59 -0000	1.2.2.3
  @@ -163,8 +163,7 @@
        *
        * @throws Exception Any exception if thrown by the cache.
        */
  -    public void disabledtestLocalNoCacheLoader2Modifications()
  -            throws Exception {
  +    public void disabledtestLocalNoCacheLoader2Modifications() throws Exception {
           startCache(TreeCache.LOCAL, null);
           performTest(2);
       }
  @@ -304,7 +303,7 @@
        * @throws Exception Any exception if thrown by the cache.
        */
       private void performTest(int modificationsPerTx) throws Exception {
  -       m_cache.put(new Fqn("NODE"), null); // create the first node under the root so there is no contention for the root
  +//       m_cache.put(new Fqn("NODE"), null); // create the first node under the root so there is no contention for the root
           for (int i = 0; i < NUM_RUNS; i++) {
               if (mcl_exception != null) {
                   // terminate the test on the first failed worker
  @@ -365,8 +364,8 @@
        * @author Marian Nikolov
        * @author $Author: msurtani $
        * @version $RCSfile: ConcurrentCreationDeadlockTest.java,v $
  -     * @version $Revision: 1.2.2.2 $
  -     * @version $Date: 2006/11/26 14:27:38 $
  +     * @version $Revision: 1.2.2.3 $
  +     * @version $Date: 2006/11/26 14:59:59 $
        */
       private class Worker extends Thread {
           /** Used to fire all workers at the same time. */
  
  
  



More information about the jboss-cvs-commits mailing list