Skip to content
Open
Show file tree
Hide file tree
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
Binary file added go1.25.4.linux-amd64.tar.gz
Binary file not shown.
Binary file added go1.25.4.linux-amd64.tar.gz.1
Binary file not shown.
6 changes: 6 additions & 0 deletions ocp_resources/datavolume.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,12 @@ def wait_deleted(self, timeout=TIMEOUT_4MINUTES):
return self.pvc.wait_deleted(timeout=timeout)

def wait(self, timeout=TIMEOUT_10MINUTES, failure_timeout=TIMEOUT_2MINUTES, wait_for_exists_only=False, sleep=1):
warn(
message="DataVolume.wait() is deprecated and will be removed in "
"the next version. Use wait_for_dv_success() instead.",
category=DeprecationWarning,
stacklevel=2,
)
if wait_for_exists_only:
return super().wait(timeout=timeout, sleep=sleep)
else:
Expand Down