commit | 4a08e014a86960dcc6bd3ffa0d55ca2af5742001 | [log] [tgz] |
---|---|---|
author | gordon chung <gord@live.ca> | Thu Dec 10 11:12:29 2015 -0500 |
committer | gordon chung <gord@live.ca> | Thu Dec 10 11:12:29 2015 -0500 |
tree | 40d97b73a45d59b5381075618ca7f60996d7f39b | |
parent | 5f6a8062a1a2fd85175fa17c620276b538ff02b7 [diff] |
show queue status on integration test it's useful to check queue status to see how backed up the queues are to pinpoint performance issues. Change-Id: I85974c1a2a1f8967244867e8241f462689fd1fc1
diff --git a/ceilometer/tests/integration/hooks/post_test_hook.sh b/ceilometer/tests/integration/hooks/post_test_hook.sh index bea2be8..252d4bc 100755 --- a/ceilometer/tests/integration/hooks/post_test_hook.sh +++ b/ceilometer/tests/integration/hooks/post_test_hook.sh
@@ -53,6 +53,9 @@ sudo -E -H -u ${STACK_USER:-${USER}} tox -eintegration EXIT_CODE=$? +echo "* Message queue status:" +sudo rabbitmqctl list_queues | grep -e \\.sample -e \\.info + if [ $EXIT_CODE -ne 0 ] ; then set +x echo "* Heat stack:"