]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
tests: fix broken test when collocated daemons scenarios
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 20 Jun 2018 11:44:08 +0000 (13:44 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 11 Jul 2018 12:45:05 +0000 (14:45 +0200)
commit97bc4d1520ca212fd2e819fc22a31e26f7dea8f8
tree3b3d35210ada785906c0bbe67fce4538db705bc7
parentd6b743692e77ed01c37215eacfa9f8d02ca27b0c
tests: fix broken test when collocated daemons scenarios

At the moment, a lot of tests are skipped when daemons are collocated.
Our tests consider a node belong to only 1 group while it's possible for
certain scenario it can belong to multiple groups.

Also pinning to pytest 3.6.1 so we can use `request.node.iter_markers()`

Co-Authored-by: Alfredo Deza <adeza@redhat.com>
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit d83b24d27121591dafcba8297288c6f3a7ede42e)
tests/conftest.py
tests/requirements2.4.txt