TestingUtil.waitForRehashToComplete(cache(0), cache(1), cache(2));
// at this point state transfer is fully done
log.infof("Data container of NodeA has %d keys: %s", dc0.size(), dc0.keySet());
log.infof("Data container of NodeB has %d keys: %s", dc1.size(), dc1.keySet());
log.infof("Data container of NodeC has %d keys: %s", dc2.size(), dc2.keySet());
if (op == Operation.CLEAR || op == Operation.REMOVE) {
// caches should be empty. check that no keys were revived by an inconsistent state transfer
for (int i = 0; i < numKeys; i++) {
assertNull(dc0.get(i));