// add the distributed cache with virtual-nodes = 6, should lead to segments value of 36 (6*6)
ModelNode distCacheAddOp = getCacheAddOperation("maximal", ModelKeys.DISTRIBUTED_CACHE, "new-dist-cache");
distCacheAddOp.get(ModelKeys.MODE).set("SYNC");
distCacheAddOp.get(ModelKeys.VIRTUAL_NODES).set(6);
ModelNode result = servicesA.executeOperation(distCacheAddOp);
Assert.assertEquals(SUCCESS, result.get(OUTCOME).asString());
// read the segments attribute
ModelNode readDistCacheSegmentsOp = getCacheReadOperation("maximal", ModelKeys.DISTRIBUTED_CACHE, "new-dist-cache", "segments");
result = servicesA.executeOperation(readDistCacheSegmentsOp);