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

Manik Surtani manik at jboss.org
Tue May 22 12:12:14 EDT 2007


  User: msurtani
  Date: 07/05/22 12:12:14

  Modified:    tests/functional/org/jboss/cache/api   NodeMoveAPITest.java
                        NodeReplicatedMoveTest.java
  Log:
  lifecycle stuff
  
  Revision  Changes    Path
  1.24      +1 -1      JBossCache/tests/functional/org/jboss/cache/api/NodeMoveAPITest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: NodeMoveAPITest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/api/NodeMoveAPITest.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -b -r1.23 -r1.24
  --- NodeMoveAPITest.java	22 May 2007 11:43:35 -0000	1.23
  +++ NodeMoveAPITest.java	22 May 2007 16:12:14 -0000	1.24
  @@ -265,7 +265,7 @@
   
      protected void doCacheLoaderTest(boolean pasv, boolean useTx) throws Exception
      {
  -      cache.stop();
  +      cache.destroy();
         cache.getConfiguration().setCacheLoaderConfig(getSingleCacheLoaderConfig(pasv, "", DummyInMemoryCacheLoader.class.getName(), null, false, false, false, false));
         cache.start();
   
  
  
  
  1.14      +2 -0      JBossCache/tests/functional/org/jboss/cache/api/NodeReplicatedMoveTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: NodeReplicatedMoveTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/api/NodeReplicatedMoveTest.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -b -r1.13 -r1.14
  --- NodeReplicatedMoveTest.java	16 Apr 2007 17:37:11 -0000	1.13
  +++ NodeReplicatedMoveTest.java	22 May 2007 16:12:14 -0000	1.14
  @@ -88,6 +88,8 @@
      {
         cache[0].stop();
         cache[1].stop();
  +      cache[0].destroy();
  +      cache[1].destroy();
         cache[0].getConfiguration().setCacheMode(Configuration.CacheMode.INVALIDATION_SYNC);
         cache[1].getConfiguration().setCacheMode(Configuration.CacheMode.INVALIDATION_SYNC);
         cache[0].start();
  
  
  



More information about the jboss-cvs-commits mailing list