]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: skip tests for node iscsi-gw when deploying jewel
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 22 Jun 2018 09:56:24 +0000 (11:56 +0200)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Tue, 26 Jun 2018 15:23:39 +0000 (15:23 +0000)
CI is deploying a iscsigw node anyway but its not deployed let's skip
test accordingly

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
tests/conftest.py

index d672507727fc77efd25a830f94bea32d50092dd0..9c4ca5d9a0b552a54466999f16e99c9202b251b8 100644 (file)
@@ -61,7 +61,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