Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions tests/install_upgrade_operators/must_gather/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
from utilities.infra import (
create_ns,
get_node_selector_dict,
is_jira_open,
)
from utilities.must_gather import collect_must_gather, run_must_gather
from utilities.network import (
Expand Down Expand Up @@ -597,6 +598,7 @@ def disks_from_multiple_disks_vm(multiple_disks_vm):

@pytest.fixture(scope="class")
def collected_vm_details_must_gather_from_vm_node(
xfail_if_non_compact_cluster_and_ocpbugs_65523_is_open,
request,
must_gather_tmpdir_scope_module,
must_gather_image_url,
Expand Down Expand Up @@ -699,3 +701,9 @@ def must_gather_for_test(
return collected_cluster_must_gather
else:
return cnv_image_path_must_gather_all_images


@pytest.fixture(scope="session")
def xfail_if_non_compact_cluster_and_ocpbugs_65523_is_open(compact_cluster, sno_cluster):
if not compact_cluster and not sno_cluster and is_jira_open("OCPBUGS-65523"):
pytest.xfail(reason="OCPBUGS-65523")