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 <gabrioux@redhat.com>
pull/2805/head
Guillaume Abrioux 2018-06-22 11:56:24 +02:00 committed by mergify[bot]
parent 1c3dae4a90
commit 2d560b562a
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ def node(host, request):
if "nfss" in group_names and ceph_stable_release == "jewel": if "nfss" in group_names and ceph_stable_release == "jewel":
pytest.skip("nfs nodes can not be tested with ceph 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 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 if request.node.get_closest_marker("from_luminous") and ceph_release_num[ceph_stable_release] < ceph_release_num['luminous']: # noqa E501