adam-markovics commented on a change in pull request #1252:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1252#discussion_r799399664
##########
File path: docker/test/integration/minifi/core/SingleNodeDockerCluster.py
##########
@@ -68,6 +68,12 @@ def acquire_container(self, name, engine='minifi-cpp',
command=None):
return self.containers.setdefault(name,
NifiContainer(self.data_directories["nifi_config_dir"], name, self.vols,
self.network, self.image_store, command))
elif engine == 'minifi-cpp':
return self.containers.setdefault(name,
MinifiContainer(self.data_directories["minifi_config_dir"], name, self.vols,
self.network, self.image_store, command))
+ elif engine == 'transient-minifi':
+ if command is None:
+ custom_command = ["/bin/sh", "-c", "cp
/tmp/minifi_config/config.yml " + MinifiContainer.MINIFI_ROOT + "/conf &&
/opt/minifi/minifi-current/bin/minifi.sh start && sleep 10 &&
/opt/minifi/minifi-current/bin/minifi.sh stop && sleep 100"]
+ else:
+ custom_command = command
+ return self.containers.setdefault(name,
MinifiContainer(self.data_directories["minifi_config_dir"], name, self.vols,
self.network, self.image_store, custom_command))
Review comment:
Done.
--
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]