lordgamez commented on code in PR #2104:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2104#discussion_r2798612470
##########
extensions/aws/tests/features/steps/steps.py:
##########
@@ -50,10 +50,10 @@ def step_impl(context: MinifiTestContext, processor_name:
str):
context.get_or_create_default_minifi_container().flow_definition.add_processor(processor)
-@step('a s3 server is set up in correspondence with the {processor_name}')
-@step('an s3 server is set up in correspondence with the {processor_name}')
-def step_impl(context: MinifiTestContext, processor_name: str):
+@step('an s3 server is set up')
+def step_impl(context: MinifiTestContext):
context.containers["s3-server"] = S3ServerContainer(context)
+ assert context.containers["s3-server"].deploy()
Review Comment:
I can rename it, I agree that's more clear, but calling "all instances start
up" does not cause an error, because there is a check in the `deploy` function
to see if the container was already deployed or not.
--
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]