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

Vladmir Blagojevic vladimir.blagojevic at jboss.com
Wed Jan 10 10:39:52 EST 2007


  User: vblagojevic
  Date: 07/01/10 10:39:52

  Modified:    tests/functional/org/jboss/cache/replicated 
                        SyncReplTest.java
  Log:
  JBCACHE-840 (work in progress)
  
  Revision  Changes    Path
  1.6       +4 -2      JBossCache/tests/functional/org/jboss/cache/replicated/SyncReplTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SyncReplTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/replicated/SyncReplTest.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- SyncReplTest.java	2 Jan 2007 18:26:07 -0000	1.5
  +++ SyncReplTest.java	10 Jan 2007 15:39:52 -0000	1.6
  @@ -12,7 +12,9 @@
   import org.jboss.cache.InvocationContext;
   import org.jboss.cache.Node;
   import org.jboss.cache.config.Option;
  +import org.jboss.cache.config.Configuration.CacheMode;
   import org.jboss.cache.factories.DefaultCacheFactory;
  +import org.jboss.cache.factories.UnitTestCacheFactory;
   import org.jboss.cache.misc.TestingUtil;
   
   /**
  @@ -26,8 +28,8 @@
      {
         System.out.println("*** In setUp()");
         caches = new Cache[2];
  -      caches[0] = DefaultCacheFactory.getInstance().createCache("META-INF/replSync-service.xml");
  -      caches[1] = DefaultCacheFactory.getInstance().createCache("META-INF/replSync-service.xml");
  +      caches[0] = DefaultCacheFactory.getInstance().createCache(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC));
  +      caches[1] = DefaultCacheFactory.getInstance().createCache(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC));
   
         TestingUtil.blockUntilViewsReceived(caches, 5000);
         System.out.println("*** Finished setUp()");
  
  
  



More information about the jboss-cvs-commits mailing list