You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2026/09/16 21:05:00 UTC
[jira] [Created] (NIFI-16357) Override number of sections per container for FileSystemRepository tests
Mark Payne created NIFI-16357:
---------------------------------
Summary: 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
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)