lordgamez commented on a change in pull request #959: URL: https://github.com/apache/nifi-minifi-cpp/pull/959#discussion_r542554296
########## File path: libminifi/test/persistence-tests/PersistenceTests.cpp ########## @@ -326,10 +334,12 @@ TEST_CASE("Persisted flowFiles are updated on modification", "[TestP1]") { ff_repository->start(); // wait for FlowFileRepository to start and notify the owners of // the resurrected FlowFiles - std::this_thread::sleep_for(std::chrono::milliseconds{100}); - std::set<std::shared_ptr<core::FlowFile>> expired; - auto file = flow.output->poll(expired); + std::shared_ptr<org::apache::nifi::minifi::core::FlowFile> file = nullptr; + for (auto i = 0; i < 20 && !file; ++i) { Review comment: Fixed in [a20314b](https://github.com/apache/nifi-minifi-cpp/pull/959/commits/a20314b080d4fded9d71d61d68d6be616032eb4f) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org