]> git-server-git.apps.pok.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>
Wed, 20 Jun 2018 06:01:57 +0000 (08:01 +0200)
commitf68936ca7e7f556c8d8cee8b2c4565a3c94f72f9
tree9263f5a2c6119624847160398f1a0e52dbee5cbd
parent481c14455aa3bcd05cc1c190458148a4d516e991
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>
tests/functional/tests/mon/test_mons.py
tests/functional/tests/test_install.py