@Test public void testMapStoreWriteBatchSize() { String xml = "<hazelcast xmlns=\"http://www.hazelcast.com/schema/config\">\n" + "<map name=\"mymap\">" + "<map-store >" + "<write-batch-size>23</write-batch-size>" + "</map-store>" + "</map>" + "</hazelcast>"; final Config config = buildConfig(xml); System.out.println("config = " + config); final MapStoreConfig mapStoreConfig = config.getMapConfig("mymap").getMapStoreConfig(); assertEquals(23, mapStoreConfig.getWriteBatchSize()); }
@Test public void testMapStoreWriteBatchSize() { String xml = HAZELCAST_START_TAG + "<map name=\"mymap\">" + "<map-store >" + "<write-batch-size>23</write-batch-size>" + "</map-store>" + "</map>" + "</hazelcast>"; final Config config = buildConfig(xml); System.out.println("config = " + config); final MapStoreConfig mapStoreConfig = config.getMapConfig("mymap").getMapStoreConfig(); assertEquals(23, mapStoreConfig.getWriteBatchSize()); }