factory.shutdownAll();
}
@Test
public void ensure_nearCachedClient_and_member_data_sync_eventually() throws Exception {
final String mapName = "default";
<BUG>final int mapSize = 100000;</BUG>
final AtomicBoolean stopTest = new AtomicBoolean();
final Config config = createConfig();
HazelcastInstance member = factory.newHazelcastInstance(config);
factory.newHazelcastInstance(config);
final IMap<Integer, Integer> memberMap = member.getMap(mapName);
<BUG>for (int i = 0; i < mapSize; i++) {
</BUG>
memberMap.put(i, i);

factory.shutdownAll();
}
@Test
public void ensure_nearCachedClient_and_member_data_sync_eventually() throws Exception {
final String mapName = "default";
final AtomicBoolean stopTest = new AtomicBoolean();
final Config config = createConfig();
HazelcastInstance member = factory.newHazelcastInstance(config);
factory.newHazelcastInstance(config);
final IMap<Integer, Integer> memberMap = member.getMap(mapName);
for (int i = 0; i < KEY_COUNT; i++) {
memberMap.put(i, i);
