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

Manik Surtani msurtani at jboss.com
Mon Jan 29 20:22:57 EST 2007


  User: msurtani
  Date: 07/01/29 20:22:57

  Modified:    tests/functional/org/jboss/cache/buddyreplication 
                        BuddyAssignmentStateTransferTest.java
  Log:
  Fixed dodgy persistent state tfr without transient state breakage
  
  Revision  Changes    Path
  1.11      +3 -2      JBossCache/tests/functional/org/jboss/cache/buddyreplication/BuddyAssignmentStateTransferTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: BuddyAssignmentStateTransferTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/buddyreplication/BuddyAssignmentStateTransferTest.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -b -r1.10 -r1.11
  --- BuddyAssignmentStateTransferTest.java	30 Dec 2006 17:50:00 -0000	1.10
  +++ BuddyAssignmentStateTransferTest.java	30 Jan 2007 01:22:57 -0000	1.11
  @@ -170,8 +170,9 @@
                    BuddyManager.getGroupNameFromAddress(caches[0].getLocalAddress()));
            Fqn test = new Fqn(group, main);
   
  -         assertFalse("/a/b/c not in memory", caches[1].exists(test));
  -         assertEquals("/a/b/c in cache loader", "Joe", caches[1].get(test, "name"));
  +         assertFalse("/a/b/c shld not be bin memory", caches[1].exists(test));
  +         assertNotNull("/a/b/c shld be in CL", caches[1].getCacheLoader().get(test));
  +         assertEquals("/a/b/c shld in cache loader", "Joe", caches[1].get(test, "name"));
         }
         finally
         {
  
  
  



More information about the jboss-cvs-commits mailing list