You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marton Szasz (Jira)" <ji...@apache.org> on 2020/04/02 02:52:00 UTC

[jira] [Created] (MINIFICPP-1188) Fix repo tests on linux systems with tmpfs /tmp

Marton Szasz created MINIFICPP-1188:
---------------------------------------

             Summary: Fix repo tests on linux systems with tmpfs /tmp
                 Key: MINIFICPP-1188
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1188
             Project: Apache NiFi MiNiFi C++
          Issue Type: Improvement
            Reporter: Marton Szasz
            Assignee: Marton Szasz


Repo tests use /tmp for temporary repos. Many linux distros (e.g. Arch, Gentoo) mount /tmp as tmpfs, which is the page cache mounted as a filesystem. Since we use RocksDB repositories with direct IO (i.e. send IO directly to disk, avoid page cache), the integration tests that try to open repositories under /tmp fail on the affected systems.

Fix: Place the temporary test repositories under /var/tmp instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)