import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
+
import org.apache.commons.io.FileUtils;
import org.junit.Rule;
import org.junit.Test;
assertThat(dbTester.countRowsOfTable("file_sources")).isEqualTo(NUMBER_OF_FILES);
LOGGER.info(String.format("File sources have been persisted in %d ms", duration));
- benchmark.expectAround("Duration to persist FILE_SOURCES", duration, 125000, Benchmark.DEFAULT_ERROR_MARGIN_PERCENTS);
+ benchmark.expectAround("Duration to persist FILE_SOURCES", duration, 109000, Benchmark.DEFAULT_ERROR_MARGIN_PERCENTS);
}
private File prepareReport() throws IOException {