diff options
| author | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2019-04-15 10:32:22 +0200 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2019-04-15 10:32:22 +0200 |
| commit | 442768afdcbdcf1c08d9ca90f1704cfceae4734f (patch) | |
| tree | 4473414a92c17396bc9c48af5d97b8942816a0ec /test | |
| parent | a0ef063126560ca4e99b6c2816c8de4e25d7a804 (diff) | |
| download | rabbitmq-server-git-442768afdcbdcf1c08d9ca90f1704cfceae4734f.tar.gz | |
rabbit: Compute `totals` in status() only if RabbitMQ is running
The `app_management` testcase checks that status() works even with
RabbitMQ stopped (but the node is running). To restore that fact,
`totals` are only computed if RabbitMQ is running. Otherwise the list of
`totals` is empty.
The problem reported by the testcase without this patch was that the
`rabbit_vhost` Mnesia table was unavailable:
{exit,{aborted,{no_exists,rabbit_vhost}}}
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
