After agreement with Marko: https://github.com/status-im/infra-misc/pull/380 we decided that infra deployment image must run continuously. As this is against how this test is designed it is now extended:
Added lpt_supervisor.py script that takes default deployment arguments and a period time arg, and restarts tester apps in predefined times. (This has to be set carefully to allow both parties (SENDER/RECEIVER) to finish before next period comes.)
infra.env : predefined deployment arguments to testing, built into the image
if the image tag is set to deploy for docker build, it will create a specific image for infra deployment (having different entrypoint with lpt_supervisor.py)
As a plus, as Franck requested, I added message latency metrics (latency was already reported but only to stdout).
Description
This PR is based upon the previous one, and serves the same sole purpose: enable infra deployment. Prev PR: https://github.com/waku-org/nwaku/pull/3158
Changes