DBZ-479 Forced fsync slows down tests

This commit is contained in:
Jiri Pechanec 2017-11-22 11:28:44 +01:00 committed by Gunnar Morling
parent 833e81a3a4
commit 57e7f84163

View File

@ -93,7 +93,7 @@ protected String zookeeperConnection() {
*/
protected void populateDefaultConfiguration(Properties props) {
config.setProperty(KafkaConfig.NumPartitionsProp(), String.valueOf(1));
config.setProperty(KafkaConfig.LogFlushIntervalMessagesProp(), String.valueOf(1));
config.setProperty(KafkaConfig.LogFlushIntervalMessagesProp(), String.valueOf(Long.MAX_VALUE));
}
/**