[jbosscache-dev] Buddy replication tests

Manik Surtani manik at jboss.org
Wed Sep 20 10:44:04 EDT 2006


Thanks for spotting this.  I haven't got down to these tests yet, but  
if you feel like fixing these, go ahead.

--
Manik Surtani

Lead, JBoss Cache
JBoss, a division of Red Hat

Email: manik at jboss.org
Telephone: +44 7786 702 706
MSN: manik at surtani.org
Yahoo/AIM/Skype: maniksurtani


On 20 Sep 2006, at 15:41, Vladimir Blagojevic wrote:

> 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.
>
>
> _______________________________________________
> jbosscache-dev mailing list
> jbosscache-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosscache-dev




More information about the jbosscache-dev mailing list