Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adopt rabbitmqadmin in integration tests #241

Open
jjasghar opened this issue Mar 18, 2015 · 2 comments
Open

Adopt rabbitmqadmin in integration tests #241

jjasghar opened this issue Mar 18, 2015 · 2 comments

Comments

@jjasghar
Copy link
Contributor

It seems we can something like:

cd /usr/local/bin 
sudo wget https://raw.githubusercontent.com/rabbitmq/rabbitmq-management/rabbitmq_v3_5_0/bin/rabbitmqadmin 
chmod +x rabbitmqadmin 
cd - 
rabbitmqadmin -H localhost -u guest -p mypass list vhosts
/root
+------+----------+
| name | messages |
+------+----------+
| /    |          |
+------+----------+

to add the rabbitmqadmin as another recipe. with this we can add serverspec tests around running rabbitmqadmin and in turn test rabbitmq how you would officially from rabbitmq.

This shouldn't be too much work, but I wanted to capture it here so we can revisit it at a later date.

@jjasghar jjasghar added the TODO label Oct 21, 2015
@tas50
Copy link
Contributor

tas50 commented Jan 6, 2017

Inspec

@michaelklishin michaelklishin changed the title A way to validate integration tests Adopt rabbitmqadmin in integration tests Mar 24, 2019
@michaelklishin
Copy link
Member

In most cases it wouldn't be any different from using rabbitmqctl, rabbitmq-diagnostics, and so on but let's keep this open, maybe it would come handy in 6.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants