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

Manik Surtani manik at jboss.org
Fri Jul 20 09:19:24 EDT 2007


  User: msurtani
  Date: 07/07/20 09:19:24

  Modified:    tests/functional/org/jboss/cache/buddyreplication 
                        BuddyPoolBroadcastTest.java
  Log:
  no message
  
  Revision  Changes    Path
  1.23      +5 -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.22
  retrieving revision 1.23
  diff -u -b -r1.22 -r1.23
  --- BuddyPoolBroadcastTest.java	20 Jun 2007 02:10:41 -0000	1.22
  +++ BuddyPoolBroadcastTest.java	20 Jul 2007 13:19:24 -0000	1.23
  @@ -136,7 +136,7 @@
      public void testConcurrency() throws Exception
      {
         log.debug("Running testConcurrency");
  -      int numCaches = 8;
  +      int numCaches = 4;
         caches = new CacheImpl[numCaches];
         CountDownLatch latch = new CountDownLatch(1);
         CacheStarter[] starters = new CacheStarter[numCaches];
  @@ -161,7 +161,10 @@
         System.out.println(map);
         for (int i = 0; i < numCaches; i++)
         {
  +         if (caches[i] != null)
            assertEquals("Failed on cache " + i + "(" + caches[i].getLocalAddress() + ")", new String(new char[]{(char) ('A' + i)}), map.get(caches[i].getLocalAddress()));
  +         else
  +            System.out.println("Cache " + i + " is null!??");
         }
   
         checkConsistentPoolState(caches);
  
  
  



More information about the jboss-cvs-commits mailing list