[
https://issues.apache.org/jira/browse/NIFI-16357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard resolved NIFI-16357.
-----------------------------------
Fix Version/s: 2.13.0
Resolution: Fixed
> Override number of sections per container for FileSystemRepository tests
> ------------------------------------------------------------------------
>
> Key: NIFI-16357
> URL: https://issues.apache.org/jira/browse/NIFI-16357
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Major
> Fix For: 2.13.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The {{FileSystemRepository}} implementation uses 1024 sections for each
> container. This is reasonable and useful for production. However, it leads to
> a significant amount of disk I/O when running tests. The
> {{TestFileSystemRepository}} currently takes just over 2 minutes per run on
> my Macbook. Updating it from 1024 sections per container to 12 sections per
> container resulted in the full test suite taking 24 seconds instead.
> We do not want to make this configurable. However, it does make sense to
> provide a package-level constructor that allows us to override the value for
> tests.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)