[infinispan-dev] TestUtil.blockUntilClusterFormed
Manik Surtani
manik at jboss.org
Fri May 7 07:17:51 EDT 2010
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 at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org
More information about the infinispan-dev
mailing list