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

Manik Surtani manik at jboss.org
Tue Mar 20 11:33:24 EDT 2007


  User: msurtani
  Date: 07/03/20 11:33:24

  Modified:    tests/functional/org/jboss/cache/pojo/passivation 
                        LocalTest.java
  Log:
  better clean-up
  
  Revision  Changes    Path
  1.4       +3 -2      JBossCache/tests/functional/org/jboss/cache/pojo/passivation/LocalTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: LocalTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/pojo/passivation/LocalTest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- LocalTest.java	9 Feb 2007 17:07:45 -0000	1.3
  +++ LocalTest.java	20 Mar 2007 15:33:24 -0000	1.4
  @@ -56,10 +56,11 @@
      protected void tearDown() throws Exception
      {
         super.tearDown();
  -      cache_.getCache().removeNode(Fqn.fromString("/"));
  +      cache_.getCache().removeNode(Fqn.ROOT);
  +      ((CacheSPI) cache_.getCache()).getCacheLoaderManager().getCacheLoader().remove(Fqn.ROOT);
         cache_.getCache().removeCacheListener(listener_);
         cache_.stop();
  -      Thread.sleep(1000);
  +      //Thread.sleep(1000);
      }
   
      //   public void testDummy() {}
  
  
  



More information about the jboss-cvs-commits mailing list