]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
tests: fix *_has_correct_value tests
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 19 Jun 2018 16:08:10 +0000 (18:08 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 21 Jun 2018 15:24:46 +0000 (17:24 +0200)
commite21b558eac233d47363af135ab35cf74478f09fc
treec6b19ad040078402638aaa49e9290b6784852022
parentc8ecb0140daebddc7a75686326047407e48bca3b
tests: fix *_has_correct_value tests

It might happen that the list of ips/hosts in following line (ceph.conf)
- `mon initial memebers = <hosts>`
- `mon host = <ips>`

are not ordered the same way depending on deployment.

This patch makes the tests looking for each ip or hostname in respective
lines.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit f68936ca7e7f556c8d8cee8b2c4565a3c94f72f9)
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
tests/functional/tests/mon/test_mons.py
tests/functional/tests/test_install.py