assertEquals(Fnv1aHash64.class.getName(), config2.getProperty(StoreParams.PARAM_HASH_FUNCTION_CLASS));
assertEquals(StoreParams.SEGMENT_FILE_SIZE_MB_MIN, config2.getSegmentFileSizeMB());
assertEquals(StoreParams.NUM_SYNC_BATCHES_MIN, config2.getNumSyncBatches());
assertEquals(StoreParams.BATCH_SIZE_MIN, config2.getBatchSize());
config2.validate();
}
public void testNewInstance() throws IOException {
StoreConfig config = new StoreConfig(getHomeDir(), getInitialCapacity());
StoreConfig config1 = StoreConfig.newInstance(new File(getHomeDir(), StoreConfig.CONFIG_PROPERTIES_FILE));