On 6 May 2010, at 23:19, Mircea Markus wrote:
TestingUtil.blockUntilCacheStatusAchieved seems to solve the problem.
Does status==ComponentStatus.RUNNING guarantee that rehashing is finished?
No. You want to use BaseDistFunctionalTest.RehashWaiter.waitForInitRehashToComplete() and
pass in the new joiner.
On 7 May 2010, at 00:40, Mircea Markus wrote:
> Hi,
>
> Is there such a method? I've got intermittent failures[1] now because I'm
doing things during re-hashing, i.e. after blockUntilViewReceived.
>
> [1]TopologyChangeTest starts and stops serves
>
> Cheers,
> Mircea
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Manik Surtani
manik(a)jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org