From 4810b38eceffde0b8e1240983a71dd5b0451a608 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Mon, 5 Dec 2016 10:07:04 -0600 Subject: [PATCH] tests: ensure tests marked with 'all' run on every node Signed-off-by: Andrew Schoen --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 3f31ee8d9..c9aacba06 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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