From 5650a6d7d0a0e2b2fa0ceb080e7d582dc9ceb447 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Mon, 14 Sep 2020 15:14:24 +0200 Subject: [PATCH] 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 --- tests/conftest.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index 74d378ccc..a03b3faaf 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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,