MINIFICPP-1318 migrate PersistenceTests to /var/tmp

MINIFICPP-1318 use tmpfs on ubuntu-16.04-all ci

Signed-off-by: Arpad Boda <aboda@apache.org>

This closes #862
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index a640e04..1a8bf1f 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -9,7 +9,7 @@
 
 - [ ] Does your PR title start with MINIFICPP-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
 
-- [ ] Has your PR been rebased against the latest commit within the target branch (typically master)?
+- [ ] Has your PR been rebased against the latest commit within the target branch (typically main)?
 
 - [ ] Is your initial contribution a single, squashed commit?
 
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 185d05f..349cd7d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -153,7 +153,7 @@
           sudo apt install -y ccache openjdk-8-jdk maven
           echo "::set-env name=PATH::/usr/lib/ccache:$PATH"
       - id: build
-        run: ./bootstrap.sh -e -t && cd build  && cmake -DUSE_SHARED_LIBS= -DENABLE_LIBRDKAFKA=ON -DENABLE_OPC=ON -DENABLE_SFTP=ON -DENABLE_MQTT=ON -DENABLE_COAP=ON -DENABLE_PYTHON=ON -DSTRICT_GSL_CHECKS=AUDIT .. &&  cmake --build . --parallel 4  && make test ARGS="--timeout 300 -j8 --output-on-failure"
+        run: sudo mount tmpfs -t tmpfs /tmp && ./bootstrap.sh -e -t && cd build  && cmake -DUSE_SHARED_LIBS= -DENABLE_LIBRDKAFKA=ON -DENABLE_OPC=ON -DENABLE_SFTP=ON -DENABLE_MQTT=ON -DENABLE_COAP=ON -DENABLE_PYTHON=ON -DSTRICT_GSL_CHECKS=AUDIT .. &&  cmake --build . --parallel 4  && make test ARGS="--timeout 300 -j8 --output-on-failure"
   debian:
     name: "debian"
     runs-on: ubuntu-18.04
diff --git a/libminifi/test/persistence-tests/PersistenceTests.cpp b/libminifi/test/persistence-tests/PersistenceTests.cpp
index b032410..16d38f4 100644
--- a/libminifi/test/persistence-tests/PersistenceTests.cpp
+++ b/libminifi/test/persistence-tests/PersistenceTests.cpp
@@ -152,7 +152,7 @@
   LogTestController::getInstance().setTrace<minifi::ResourceClaim>();
   LogTestController::getInstance().setTrace<minifi::FlowFileRecord>();
 
-  char format[] = "/tmp/test.XXXXXX";
+  char format[] = "/var/tmp/test.XXXXXX";
   auto dir = testController.createTempDirectory(format);
 
   auto config = std::make_shared<minifi::Configure>();
@@ -249,7 +249,7 @@
   LogTestController::getInstance().setTrace<minifi::ResourceClaim>();
   LogTestController::getInstance().setTrace<minifi::FlowFileRecord>();
 
-  char format[] = "/tmp/test.XXXXXX";
+  char format[] = "/var/tmp/test.XXXXXX";
   auto dir = testController.createTempDirectory(format);
 
   auto config = std::make_shared<minifi::Configure>();