mirror of https://github.com/ceph/ceph-ansible.git
tests: ensure tests marked with 'all' run on every node
Signed-off-by: Andrew Schoen <aschoen@redhat.com>pull/1150/head
parent
cd9b47ceb8
commit
4810b38ece
|
@ -5,7 +5,7 @@ import pytest
|
|||
def CephNode(Ansible, Interface, request):
|
||||
vars = Ansible.get_variables()
|
||||
node_type = vars["group_names"][0]
|
||||
if not request.node.get_marker(node_type):
|
||||
if not request.node.get_marker(node_type) and not request.node.get_marker('all'):
|
||||
pytest.skip("Not a valid test for node type")
|
||||
|
||||
# I can assume eth1 because I know all the vagrant
|
||||
|
|
Loading…
Reference in New Issue