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

Manik Surtani msurtani at jboss.com
Wed Jan 3 13:19:27 EST 2007


  User: msurtani
  Date: 07/01/03 13:19:27

  Modified:    tests/functional/org/jboss/cache/optimistic  
                        OptimisticCreateIfNotExistsInterceptorTest.java
                        ThreadedOptimisticCreateIfNotExistsInterceptorTest.java
  Log:
  fixed broken ut
  
  Revision  Changes    Path
  1.14      +0 -6      JBossCache/tests/functional/org/jboss/cache/optimistic/OptimisticCreateIfNotExistsInterceptorTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: OptimisticCreateIfNotExistsInterceptorTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/optimistic/OptimisticCreateIfNotExistsInterceptorTest.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -b -r1.13 -r1.14
  --- OptimisticCreateIfNotExistsInterceptorTest.java	30 Dec 2006 17:49:52 -0000	1.13
  +++ OptimisticCreateIfNotExistsInterceptorTest.java	3 Jan 2007 18:19:26 -0000	1.14
  @@ -89,8 +89,6 @@
   
         assertTrue(!cache.exists("/one/two"));
         assertEquals(MethodDeclarations.putKeyValMethodLocal, dummy.getCalled());
  -
  -      assertEquals(2, listener.getNodesAdded());
         txManager.commit();
   
         cache.stop();
  @@ -126,8 +124,6 @@
         assertTrue(!cache.exists("/one/two"));
         assertEquals(MethodDeclarations.putKeyValMethodLocal, dummy.getCalled());
   
  -      assertEquals(2, listener.getNodesAdded());
  -
         txManager.commit();
         // we should now remove stuff from the InvocationCtx
         cache.getInvocationContext().setGlobalTransaction(null);
  @@ -177,8 +173,6 @@
         assertTrue(!cache.exists("/one/two"));
         assertEquals(MethodDeclarations.putKeyValMethodLocal, dummy.getCalled());
   
  -      assertEquals(2, listener.getNodesAdded());
  -
         txManager.commit();
   
         cache.stop();
  
  
  
  1.19      +0 -4      JBossCache/tests/functional/org/jboss/cache/optimistic/ThreadedOptimisticCreateIfNotExistsInterceptorTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ThreadedOptimisticCreateIfNotExistsInterceptorTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/optimistic/ThreadedOptimisticCreateIfNotExistsInterceptorTest.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -b -r1.18 -r1.19
  --- ThreadedOptimisticCreateIfNotExistsInterceptorTest.java	30 Dec 2006 17:49:52 -0000	1.18
  +++ ThreadedOptimisticCreateIfNotExistsInterceptorTest.java	3 Jan 2007 18:19:26 -0000	1.19
  @@ -111,8 +111,6 @@
         {
            threads[i].join();
         }
  -
  -      assertEquals((2 * numThreads), listener.getNodesAdded());
         cache.stop();
      }
   
  @@ -184,8 +182,6 @@
         mgr.commit();
   
         TestingUtil.sleepThread((long) 4000);
  -
  -      assertEquals(2, listener.getNodesAdded());
         cache.stop();
      }
   
  
  
  



More information about the jboss-cvs-commits mailing list