Restart stream-perf-test on-failure

This handles the scenario where rmq2 is not available, and
stream-perf-test exits with a non-zero exit code. Good spot @ansd!

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
This commit is contained in:
Gerhard Lazu 2021-07-30 11:25:36 +01:00
parent 47d572908d
commit 35a6369327
No known key found for this signature in database
GPG Key ID: A28DE70C9444D7A6
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ services:
networks:
- "rabbitmq-prometheus"
command: "--uris rabbitmq-stream://guest:guest@rmq2:5552/%2f --max-length-bytes 100mb --rate 1000"
restart: on-failure
# many-queues:
# image: *perf-test-image
# networks: