nghiaxlee commented on a change in pull request #697: MINIFICPP-1104 - SSL
docker tests for PublishKafka
URL: https://github.com/apache/nifi-minifi-cpp/pull/697#discussion_r358235591
##########
File path: docker/test/integration/test_rdkafka.py
##########
@@ -74,3 +74,15 @@ def stop_kafka():
cluster.rm_out_child('/failure')
assert cluster.check_output(30, dir='/failure')
+def test_ssl():
+ """
+ Verify security connection
+ """
+ producer_flow = GetFile('/tmp/input') >> PublishKafkaSSL() >> ('failure',
LogAttribute())
+
+ with DockerTestCluster(KafkaValidator('test')) as cluster:
Review comment:
It first finds a consumer container, tries to read the output file from that
container and validates its content.
I did not think it through at the first place. We can get rid of it and use
SingleFileOutputValidator with the help of volume.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services