]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: skip ceph_crash and ceph_exporter tests post upgrade
authorGuillaume Abrioux <gabrioux@ibm.com>
Thu, 14 Mar 2024 00:12:24 +0000 (01:12 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Fri, 15 Mar 2024 23:51:52 +0000 (00:51 +0100)
as stable-8.0 is dropping iscsigws support, after the upgrade to reef
from quincy these tests should be skipped.

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

index 20e871d1aa56e85978c464f7f299d75c9ce1de8b..69de7ac69df7497d645fac9ae1ec13f902eb400f 100644 (file)
@@ -188,6 +188,12 @@ def node(host, request):
     if request.node.get_closest_marker("dashboard") and sanitized_group_names == ['clients']:
         pytest.skip('Not a valid test for client node')
 
+    if request.node.get_closest_marker("ceph_crash") and sanitized_group_names == ['iscsigws']:
+        pytest.skip('Not a valid test for iscsigws node')
+
+    if request.node.get_closest_marker("ceph_exporter") and sanitized_group_names == ['iscsigws']:
+        pytest.skip('Not a valid test for iscsigws node')
+
     data = dict(
         vars=ansible_vars,
         docker=docker,