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

Manik Surtani manik at jboss.org
Mon Jun 18 12:01:32 EDT 2007


  User: msurtani
  Date: 07/06/18 12:01:32

  Modified:    tests/functional/org/jboss/cache/buddyreplication  
                        BuddyPoolBroadcastTest.java
                        BuddyReplicationTestsBase.java
  Log:
  Timeout reduced
  
  Revision  Changes    Path
  1.21      +2 -2      JBossCache/tests/functional/org/jboss/cache/buddyreplication/BuddyPoolBroadcastTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: BuddyPoolBroadcastTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/buddyreplication/BuddyPoolBroadcastTest.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -b -r1.20 -r1.21
  --- BuddyPoolBroadcastTest.java	2 Mar 2007 12:07:44 -0000	1.20
  +++ BuddyPoolBroadcastTest.java	18 Jun 2007 16:01:32 -0000	1.21
  @@ -21,7 +21,6 @@
    */
   public class BuddyPoolBroadcastTest extends BuddyReplicationTestsBase
   {
  -
      private Log log = LogFactory.getLog(BuddyPoolBroadcastTest.class);
   
      private void checkConsistentPoolState(CacheImpl[] caches)
  @@ -53,8 +52,9 @@
   
      public void test2CachesWithPoolNames() throws Exception
      {
  -      log.debug("Running test2CachesWithPoolNames");
  +      log.error("Running test2CachesWithPoolNames");
         caches = createCaches(2, true);
  +      log.error("Created 2 caches");
   
         BuddyManager m = caches[0].getBuddyManager();
         Map groupMap = m.buddyPool;
  
  
  
  1.50      +15 -14    JBossCache/tests/functional/org/jboss/cache/buddyreplication/BuddyReplicationTestsBase.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: BuddyReplicationTestsBase.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/buddyreplication/BuddyReplicationTestsBase.java,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -b -r1.49 -r1.50
  --- BuddyReplicationTestsBase.java	11 Jun 2007 12:58:15 -0000	1.49
  +++ BuddyReplicationTestsBase.java	18 Jun 2007 16:01:32 -0000	1.50
  @@ -75,6 +75,7 @@
                     }
                  }
   
  +               c.killChannel();
                  c.stop();
                  c = null;
               }
  @@ -117,7 +118,7 @@
         c.getConfiguration().setClusterName("BuddyReplicationTest");
         // basic config
         String xmlString = "<config><buddyReplicationEnabled>true</buddyReplicationEnabled>\n" +
  -              "<buddyCommunicationTimeout>600000</buddyCommunicationTimeout>\n" +
  +                         "<buddyCommunicationTimeout>500</buddyCommunicationTimeout>\n" +
                 "          <buddyLocatorClass>org.jboss.cache.buddyreplication.NextMemberBuddyLocator</buddyLocatorClass>\n" +
                 "          <autoDataGravitation>" + useDataGravitation + "</autoDataGravitation>\n" +
                 "          <dataGravitationRemoveOnFind>" + removeOnFind + "</dataGravitationRemoveOnFind>\n" +
  @@ -220,11 +221,11 @@
                 "<cacheloader>\n" +
                 "<class>org.jboss.cache.loader.DummyInMemoryCacheLoader</class>\n" +
   //              "<properties>location=" + (location) + "</properties>\n" +
  -              "<async>false</async>\n" +
  -              "<shared>false</shared>\n" +
  -              "<fetchPersistentState>" + fetchPersistent + "</fetchPersistentState>\n" +
  -              "</cacheloader>\n" +
  -              "</config>";
  +"<async>false</async>\n" +
  +"<shared>false</shared>\n" +
  +"<fetchPersistentState>" + fetchPersistent + "</fetchPersistentState>\n" +
  +"</cacheloader>\n" +
  +"</config>";
   
         Element element = XmlHelper.stringToElement(cloader);
         CacheLoaderConfig cfg = XmlConfigurationParser.parseCacheLoaderConfig(element);
  
  
  



More information about the jboss-cvs-commits mailing list