You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ma...@apache.org on 2022/05/03 15:06:05 UTC

[nifi-minifi-cpp] 02/03: MINIFICPP-1721 Fix GetFileTests transient failure

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

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

commit b9545e7dc94c0953c6e1c3a403638041448bc7db
Author: Gabor Gyimesi <ga...@gmail.com>
AuthorDate: Tue May 3 14:47:01 2022 +0200

    MINIFICPP-1721 Fix GetFileTests transient failure
    
    Closes #1317
    Signed-off-by: Martin Zink <ma...@apache.org>
---
 extensions/standard-processors/tests/unit/GetFileTests.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extensions/standard-processors/tests/unit/GetFileTests.cpp b/extensions/standard-processors/tests/unit/GetFileTests.cpp
index cf00ea5e5..d6a33c51e 100644
--- a/extensions/standard-processors/tests/unit/GetFileTests.cpp
+++ b/extensions/standard-processors/tests/unit/GetFileTests.cpp
@@ -251,8 +251,8 @@ TEST_CASE("Test if GetFile honors PollInterval property when triggered multiple
   test_controller.setProperty(minifi::processors::GetFile::PollInterval, "100 ms");
   test_controller.setProperty(minifi::processors::GetFile::KeepSourceFile, "true");
 
-  test_controller.runSession();
   auto start_time = std::chrono::steady_clock::now();
+  test_controller.runSession();
   while (LogTestController::getInstance().countOccurrences("Logged 2 flow files") < 2) {
     test_controller.test_plan_->reset();
     test_controller.runSession();