From f0f1ab4e004fec3e84e7ef38df929e1e16e3a497 Mon Sep 17 00:00:00 2001 From: Ahmad Hafe Date: Wed, 25 Feb 2026 13:17:15 +0200 Subject: [PATCH] Increase VolumeSnapshot wait timeout from 240s to3360 minutes --- tests/storage/test_data_import_cron.py | 5 ----- utilities/storage.py | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/storage/test_data_import_cron.py b/tests/storage/test_data_import_cron.py index 48da549717..668d82f80c 100644 --- a/tests/storage/test_data_import_cron.py +++ b/tests/storage/test_data_import_cron.py @@ -18,7 +18,6 @@ from utilities.constants import ( BIND_IMMEDIATE_ANNOTATION, OUTDATED, - QUARANTINED, TIMEOUT_1MIN, TIMEOUT_3MIN, TIMEOUT_5SEC, @@ -209,10 +208,6 @@ def second_object_cleanup( resource_class(namespace=namespace.name, name=second_object_name).clean_up() -@pytest.mark.xfail( - reason=f"{QUARANTINED}: Volume snapshot fails to become ready during test setup. Tracked in CNV-75955", - run=False, -) @pytest.mark.gating @pytest.mark.polarion("CNV-7602") @pytest.mark.s390x diff --git a/utilities/storage.py b/utilities/storage.py index be0ae8e9f7..24e4ad7954 100644 --- a/utilities/storage.py +++ b/utilities/storage.py @@ -1031,7 +1031,7 @@ def wait_for_volume_snapshot_ready_to_use(namespace, name): ready_to_use_status = "readyToUse" LOGGER.info(f"Wait for VolumeSnapshot '{name}' in '{namespace}' to be '{ready_to_use_status}'") volume_snapshot = VolumeSnapshot(namespace=namespace, name=name) - volume_snapshot.wait() + volume_snapshot.wait(timeout=TIMEOUT_6MIN) try: for sample in TimeoutSampler( wait_timeout=TIMEOUT_5MIN,