Uploaded image for project: 'Apache NiFi MiNiFi C++'
  1. Apache NiFi MiNiFi C++
  2. MINIFICPP-1188

Fix repo tests on linux systems with tmpfs /tmp

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                szaszm Marton Szasz
                Reporter:
                szaszm Marton Szasz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m