Skip to content

Commit

Permalink
Added timeout 60s and retry 10s for to check nsfs running pod status. (
Browse files Browse the repository at this point in the history
…#8810)

* Added timeout for 60s and retry 10s for running pod status.

Signed-off-by: tiffanyn108 <[email protected]>
  • Loading branch information
tiffanyn108 authored Nov 11, 2023
1 parent a864a0b commit 1e93e43
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5633,7 +5633,11 @@ def nsfs_bucket_factory_implementation(nsfs_obj):
ocsci_config.ENV_DATA["cluster_namespace"],
)[0]
)
wait_for_pods_to_be_running(pod_names=[nsfs_obj.interface_pod.name])
wait_for_pods_to_be_running(
pod_names=[nsfs_obj.interface_pod.name],
timeout=60,
sleep=10,
)

# Wait for the new noobaa-endpoint pods with the mount to be created
# and for the obsolete noobaa-endpoint pods to be terminated
Expand Down

0 comments on commit 1e93e43

Please sign in to comment.