Skip to content

Commit

Permalink
[Backport 2.9] Bumping default retry to 150 in Wait Until Operator Su…
Browse files Browse the repository at this point in the history
…bscription Last Condition Is (#1475)

Bumping default retry to 150 in Wait Until Operator Subscription Last Condition Is (#1470)
  • Loading branch information
CFSNM authored May 22, 2024
1 parent d27a16f commit a3a2690
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion ods_ci/tasks/Resources/RHODS_OLM/install/oc_install.robot
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ Install Kserve Dependencies
Wait Until Operator Subscription Last Condition Is
... type=CatalogSourcesUnhealthy status=False
... reason=AllCatalogSourcesHealthy subcription_name=${AUTHORINO_SUB_NAME}
... retry=150
ELSE
Log To Console message=Authorino Operator is already installed
END
Expand All @@ -377,6 +378,7 @@ Install Kserve Dependencies
Wait Until Operator Subscription Last Condition Is
... type=CatalogSourcesUnhealthy status=False
... reason=AllCatalogSourcesHealthy subcription_name=${SERVICEMESH_SUB_NAME}
... retry=150
ELSE
Log To Console message=ServiceMesh Operator is already installed
END
Expand All @@ -393,7 +395,8 @@ Install Kserve Dependencies
Wait Until Operator Subscription Last Condition Is
... type=CatalogSourcesUnhealthy status=False
... reason=AllCatalogSourcesHealthy subcription_name=${SERVERLESS_SUB_NAME}
... namespace=${SERVERLESS_NS} retry=100
... namespace=${SERVERLESS_NS}
... retry=150
Wait For Pods To Be Ready label_selector=name=knative-openshift
... namespace=${SERVERLESS_NS}
Wait For Pods To Be Ready label_selector=name=knative-openshift-ingress
Expand Down
3 changes: 2 additions & 1 deletion ods_ci/tests/Resources/Page/Operators/ISVs.resource
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ Wait Until Operator Subscription Last Condition Is # robocop: disable
[Documentation] Keeps checking until the subscription status matches the expected status
[Arguments] ${type} ${status} ${reason}
... ${subcription_name} ${namespace}=openshift-operators
... ${retry}=20 ${retry_interval}=3s
... ${retry}=60
... ${retry_interval}=3s
Wait Until Keyword Succeeds ${retry} times ${retry_interval} Operator Subscription Last Condition Should Be # robocop: disable
... type=${type} status=${status}
... reason=${reason} subcription_name=${subcription_name}
Expand Down

0 comments on commit a3a2690

Please sign in to comment.