[jbosscache-dev] Buddy replication tests

Vladimir Blagojevic vladimir.blagojevic at jboss.com
Wed Sep 20 10:41:57 EDT 2006


It seems like buddy replication tests are failing due to a simple
oversight in BuddyReplicationContentTest and BuddyGroupAssignmentTest.
BuddyReplicationContentTest does not have tearDown method and thus cache
members accumulate over tests leading to test failures.
BuddyGroupAssignmentTest has tearDown method but instead of assigning
created caches to field of TreeCache[] each test method assigns created
caches to method local variable. Thus tearDown which cleans up private
field of TreeCache [] has no effect. The end result is the same - number
of caches in the cluster accumulate over the tests leading to test
failures.





More information about the jbosscache-dev mailing list