public void testConcurrentUpdatesWriteSkew(Method m) throws Exception {
final int nbWriters = 10;
CacheSPI cache = null;
try {
log.debug(m.getName());
UnitTestCacheFactory factory = new UnitTestCacheFactory();
Configuration cfg = UnitTestConfigurationFactory.createConfiguration(CacheMode.LOCAL);
cfg.setIsolationLevel(IsolationLevel.REPEATABLE_READ);
cfg.setWriteSkewCheck(true);
cache = (CacheSPI) factory.createCache(cfg, false, getClass());
cache.start();
assert cache.getConfiguration().isWriteSkewCheck();
init();
CyclicBarrier barrier = new CyclicBarrier(nbWriters + 1);
List<Future<Void>> futures = new ArrayList<Future<Void>>(nbWriters);