Skip to content

Commit 3cffa8b

Browse files
committed
Increase VolumeSnapshot wait timeout from 240s to3360 minutes
1 parent 7616392 commit 3cffa8b

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

tests/storage/test_data_import_cron.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from utilities.constants import (
1919
BIND_IMMEDIATE_ANNOTATION,
2020
OUTDATED,
21-
QUARANTINED,
2221
TIMEOUT_1MIN,
2322
TIMEOUT_3MIN,
2423
TIMEOUT_5SEC,
@@ -209,10 +208,6 @@ def second_object_cleanup(
209208
resource_class(namespace=namespace.name, name=second_object_name).clean_up()
210209

211210

212-
@pytest.mark.xfail(
213-
reason=f"{QUARANTINED}: Volume snapshot fails to become ready during test setup. Tracked in CNV-75955",
214-
run=False,
215-
)
216211
@pytest.mark.gating
217212
@pytest.mark.polarion("CNV-7602")
218213
@pytest.mark.s390x

utilities/storage.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@ def wait_for_volume_snapshot_ready_to_use(namespace, name):
10071007
ready_to_use_status = "readyToUse"
10081008
LOGGER.info(f"Wait for VolumeSnapshot '{name}' in '{namespace}' to be '{ready_to_use_status}'")
10091009
volume_snapshot = VolumeSnapshot(namespace=namespace, name=name)
1010-
volume_snapshot.wait()
1010+
volume_snapshot.wait(timeout=TIMEOUT_6MIN)
10111011
try:
10121012
for sample in TimeoutSampler(
10131013
wait_timeout=TIMEOUT_5MIN,
@@ -1044,7 +1044,6 @@ def wait_for_succeeded_dv(namespace, dv_name):
10441044
def get_data_sources_managed_by_data_import_cron(client: DynamicClient, namespace: str) -> list[DataSource]:
10451045
return list(
10461046
DataSource.get(
1047-
client=client,
10481047
namespace=namespace,
10491048
label_selector=RESOURCE_MANAGED_BY_DATA_IMPORT_CRON_LABEL,
10501049
)

0 commit comments

Comments
 (0)