This is an automated email from the ASF dual-hosted git repository.

aboda pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git


The following commit(s) were added to refs/heads/main by this push:
     new 2af8cc8  MINIFICPP-1318 migrate PersistenceTests to /var/tmp
2af8cc8 is described below

commit 2af8cc8326da25968fe67ea20788c96598da7bc9
Author: Marton Szasz <[email protected]>
AuthorDate: Tue Aug 4 23:38:28 2020 +0200

    MINIFICPP-1318 migrate PersistenceTests to /var/tmp
    
    MINIFICPP-1318 use tmpfs on ubuntu-16.04-all ci
    
    Signed-off-by: Arpad Boda <[email protected]>
    
    This closes #862
---
 .github/PULL_REQUEST_TEMPLATE.md                      | 2 +-
 .github/workflows/ci.yml                              | 2 +-
 libminifi/test/persistence-tests/PersistenceTests.cpp | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

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 @@ to ensure the following steps have been taken:
 
 - [ ] 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 @@ jobs:
           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 @@ TEST_CASE("Processors Can Store FlowFiles", "[TestP1]") {
   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 @@ TEST_CASE("Persisted flowFiles are updated on 
modification", "[TestP1]") {
   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>();

Reply via email to