Skip to content

Commit eeabe3c

Browse files
committed
xfailed test_must_gather_and_vm_same_node in non-compact clusters
1 parent ad8f564 commit eeabe3c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/install_upgrade_operators/must_gather/conftest.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
from utilities.infra import (
2828
create_ns,
2929
get_node_selector_dict,
30+
is_jira_open,
3031
)
3132
from utilities.must_gather import collect_must_gather, run_must_gather
3233
from utilities.network import (
@@ -597,6 +598,7 @@ def disks_from_multiple_disks_vm(multiple_disks_vm):
597598

598599
@pytest.fixture(scope="class")
599600
def collected_vm_details_must_gather_from_vm_node(
601+
xfail_if_non_compact_cluster_and_ocpbugs_65523_is_open,
600602
request,
601603
must_gather_tmpdir_scope_module,
602604
must_gather_image_url,
@@ -699,3 +701,9 @@ def must_gather_for_test(
699701
return collected_cluster_must_gather
700702
else:
701703
return cnv_image_path_must_gather_all_images
704+
705+
706+
@pytest.fixture(scope="session")
707+
def xfail_if_non_compact_cluster_and_ocpbugs_65523_is_open(compact_cluster, sno_cluster):
708+
if not compact_cluster and not sno_cluster and is_jira_open("OCPBUGS-65523"):
709+
pytest.xfail(reason="OCPBUGS-65523")

0 commit comments

Comments
 (0)