rabbitmq: Use timeout in healthcheck script
Currently we don't set timeout and the default is infinity.
Change-Id: Id1a87995a36e202fc0aaf82daf022ec10d78e37d
(cherry picked from commit 36df37be31
)
This commit is contained in:
parent
82fe255055
commit
1eb0f2bf5b
@ -2,9 +2,9 @@
|
||||
|
||||
set -e
|
||||
|
||||
rabbitmq-diagnostics -q ping || exit 1
|
||||
rabbitmq-diagnostics -q status || exit 1
|
||||
rabbitmq-diagnostics -q check_running || exit 1
|
||||
rabbitmq-diagnostics -q check_local_alarms || exit 1
|
||||
rabbitmq-diagnostics -q check_port_connectivity || exit 1
|
||||
rabbitmq-diagnostics -q check_virtual_hosts || exit 1
|
||||
rabbitmq-diagnostics -t 5 -q ping || exit 1
|
||||
rabbitmq-diagnostics -t 5 -q status || exit 1
|
||||
rabbitmq-diagnostics -t 5 -q check_running || exit 1
|
||||
rabbitmq-diagnostics -t 5 -q check_local_alarms || exit 1
|
||||
rabbitmq-diagnostics -t 5 -q check_port_connectivity || exit 1
|
||||
rabbitmq-diagnostics -t 5 -q check_virtual_hosts || exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user