mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
using rabbitmqctl status as the indicator that the rabbitmq server is up and running.
This commit is contained in:
parent
331760bf5a
commit
450afc1a18
1 changed files with 1 additions and 3 deletions
|
@ -83,9 +83,7 @@ def rabbitmq_container(request, salt_factories, modules):
|
|||
while login_attempts:
|
||||
log.debug("=== login attempt %s ===", login_attempts)
|
||||
login_attempts -= 1
|
||||
status = container.run("rabbitmqctl status --formatter=json")
|
||||
log.debug("=== status %s ===", status)
|
||||
ret = container.run("rabbitmqctl ping")
|
||||
ret = container.run("rabbitmqctl status --formatter=json")
|
||||
log.debug("=== ret %s ===", ret)
|
||||
authenticated = ret.exitcode == 0
|
||||
if authenticated:
|
||||
|
|
Loading…
Add table
Reference in a new issue