From 1e93e43af7cb6c44760e9c720f58c28740317bcb Mon Sep 17 00:00:00 2001 From: Tiffany Nguyen Date: Fri, 10 Nov 2023 21:02:20 -0800 Subject: [PATCH] Added timeout 60s and retry 10s for to check nsfs running pod status. (#8810) * Added timeout for 60s and retry 10s for running pod status. Signed-off-by: tiffanyn108 --- tests/conftest.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 4015cd33e92..80bacae61dd 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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