[
https://issues.apache.org/jira/browse/MINIFICPP-1696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gábor Gyimesi reassigned MINIFICPP-1696:
----------------------------------------
Assignee: Gábor Gyimesi
> 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
> Assignee: Gábor Gyimesi
> Priority: Minor
> Labels: MiNiFi-CPP-Hygiene
>
> 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)