commit | 2d354f0c9dce951d69c79ca20800eb817620a2fa | [log] [tgz] |
---|---|---|
author | Denis V. Meltsaykin <dmeltsaykin@mirantis.com> | Wed Apr 29 12:23:21 2020 +0200 |
committer | harhipova <harhipova@mirantis.com> | Thu May 14 14:06:18 2020 +0000 |
tree | e1fb5898518c53e09e0b400363c7f191f1b2c117 | |
parent | 481938ba4cc7359c980c4a914f30c5fe6e2f3c58 [diff] |
Fix CVP rabbitmq sanity check The new rabbitmq version has different output of rabbitmqctl. Since this test magically rely on count of "rabbit@" entries in the rabbitmqctl output it fails when it comes to the new output format. This commit changes the logic to more compatible one and also makes the code PEP8-compliant. Closes-Bug: PROD-35148 Change-Id: Id038e34d0f3dbe5e587b431393e3d92ef2a0ebbd (cherry picked from commit 702f75ad911b19927653119d5e6a2f6e46c0b7ff)