}
};
Repository.INSTANCE.getCounter(new Counter.Key(Role.PERFORMANCES, "counter")).add(123);
Thread.sleep(250);
store.shutdown();
assertTrue(size.size() >= 2);
assertEquals(1, size.iterator().next().intValue());
assertEquals(0, size.get(1).intValue());
}