]> 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)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 11 Jul 2018 12:48:04 +0000 (14:48 +0200)
CI is deploying a iscsigw node anyway but its not deployed let's skip
test accordingly

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 2d560b562a2d439fbed34b3066de93dfdff650ff)

tests/conftest.py

index 4b85906c4251bad1dabec57b1393898049dc7588..54b1535aa71688768785d5c542e0a5233d717a81 100644 (file)
@@ -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