On 4 Dec 2012, at 09:22, Sanne Grinovero wrote:

[...]

I don't think the cache should ever be in an illegal state to be used
after being started. So Infinispan should not require tests to wait
for a "cluster to be formed", I'd rather guarantee that after a cache
is started it's usable.
+1. Unless the test relies/verifies internal state, e.g. locks being acquired, data present in the data container etc.

Cheers,
-- 
Mircea Markus
Infinispan lead (www.infinispan.org)