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 03:12:00 UTC

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

     [ https://issues.apache.org/jira/browse/MINIFICPP-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marton Szasz updated MINIFICPP-1188:
------------------------------------
    Status: Patch Available  (was: In Progress)

https://github.com/apache/nifi-minifi-cpp/pull/750

> 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
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)