You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ferenc Gerlits (Jira)" <ji...@apache.org> on 2021/12/03 09:27:00 UTC

[jira] [Created] (MINIFICPP-1696) Clean up the condition checking in behavior-based tests

Ferenc Gerlits created MINIFICPP-1696:
-----------------------------------------

             Summary: Clean up the condition checking in behavior-based tests
                 Key: MINIFICPP-1696
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1696
             Project: Apache NiFi MiNiFi C++
          Issue Type: Improvement
            Reporter: Ferenc Gerlits


In {{MiNiFi_integration_test_driver.py}}, two types of checks are mixed up:
# wait for x seconds, then check a condition, eg. {{check_for_no_files_generated}}
# wait for a condition to be satisfied, but at most x seconds, eg. {{check_for_at_least_one_file_with_content_generated}}

Both types of checks try to use the same {{check_output}} function, which leads to a mess.  These two, logically different, checks should use separate functions, which could then be much simpler.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)