szaszm commented on code in PR #2075:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2075#discussion_r2543034463
##########
behave_framework/src/minifi_test_framework/steps/checking_steps.py:
##########
@@ -84,6 +84,13 @@ def step_impl(context: MinifiTestContext, message: str,
duration: str):
context=context)
+@then("the Minifi logs contain the following message: \"{log_message}\"
{count:d} times after {duration}")
+def step_impl(context, log_message, count, duration):
+ duration_seconds = humanfriendly.parse_timespan(duration)
+ time.sleep(duration_seconds)
+ assert
context.get_default_minifi_container().get_logs().count(log_message) == count
or context.get_default_minifi_container().log_app_output()
Review Comment:
What does the second half mean? `.log_app_output()`
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]