tests: do not run node_exporter test on clients

We need to skip these tests on client nodes since we don't deploy
node_exporter on them anymore

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/5774/head
Guillaume Abrioux 2020-09-14 15:14:24 +02:00 committed by Dimitri Savineau
parent abb4023d76
commit 5650a6d7d0
1 changed files with 3 additions and 0 deletions

View File

@ -142,6 +142,9 @@ def node(host, request):
pytest.skip(
"Not a valid test with dashboard disabled")
if request.node.get_closest_marker("dashboard") and group_names == ['clients']:
pytest.skip('Not a valid test for client node')
data = dict(
vars=ansible_vars,
docker=docker,