From 9995fbd9a1d7e01c0a2eb98ac861a39f3ab707d0 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Fri, 22 Jun 2018 11:56:24 +0200 Subject: [PATCH] tests: skip tests for node iscsi-gw when deploying jewel CI is deploying a iscsigw node anyway but its not deployed let's skip test accordingly Signed-off-by: Guillaume Abrioux (cherry picked from commit 2d560b562a2d439fbed34b3066de93dfdff650ff) --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 4b85906c4..54b1535aa 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -59,7 +59,7 @@ def node(host, request): if "nfss" in group_names and ceph_stable_release == "jewel": pytest.skip("nfs nodes can not be tested with ceph release jewel") - if "iscsigws" in group_names and ceph_stable_release == "jewel": + if group_names == ["iscsigws"] and ceph_stable_release == "jewel": pytest.skip("iscsigws nodes can not be tested with ceph release jewel") # noqa E501 if request.node.get_closest_marker("from_luminous") and ceph_release_num[ceph_stable_release] < ceph_release_num['luminous']: # noqa E501 -- 2.39.5