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>
(cherry picked from commit 5650a6d7d0)
pull/5708/head
Guillaume Abrioux 2020-09-14 15:14:24 +02:00 committed by Dimitri Savineau
parent 5cbbc904c1
commit f31258d604
1 changed files with 3 additions and 0 deletions

View File

@ -141,6 +141,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,