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 <gamezb...@gmail.com> AuthorDate: Tue May 3 14:47:01 2022 +0200 MINIFICPP-1721 Fix GetFileTests transient failure Closes #1317 Signed-off-by: Martin Zink <martinz...@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();