You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "adamdebreceni (via GitHub)" <gi...@apache.org> on 2023/05/24 14:42:08 UTC

[GitHub] [nifi-minifi-cpp] adamdebreceni commented on a diff in pull request #1574: MINIFICPP-1641 Parallelization of docker tests

adamdebreceni commented on code in PR #1574:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1574#discussion_r1204290125


##########
docker/test/integration/cluster/containers/TcpClientContainer.py:
##########
@@ -29,9 +29,11 @@ def deploy(self):
 
         logging.info('Creating and running a tcp client docker container...')
         self.client.containers.run(
-            self.image_store.get_image(self.get_engine()),
+            "alpine:3.17.3",
             detach=True,
             name=self.name,
             network=self.network.name,
-            entrypoint=self.command)
+            entrypoint='/bin/sh',
+            command="-c 'apk add netcat-openbsd && echo TCP client container started; while true; do echo "
+                    f"test_tcp_message | nc minifi-cpp-flow-{self.context.feature_id} 10254; sleep 1; done'")

Review Comment:
   what is the `sleep 1` for?



-- 
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: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org