Skip to content

Commit

Permalink
fix: solving disruptive tests issues due to operator reconciliation r…
Browse files Browse the repository at this point in the history
…efactor changes (#2208)

PR to fix some issues in the DSC disruptive tests. The negative
conditions have changed due to the new operator reconciliation refactor
feature
  • Loading branch information
CFSNM authored Feb 3, 2025
2 parents 2d62038 + 27a8f39 commit 33cdaa3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ DataScienceCluster Should Fail Because Service Mesh Operator Is Not Installed
${return_code} ${output}= Run And Return Rc And Output
... oc get DataScienceCluster ${DSC_NAME} -n ${OPERATOR_NS} -o json | jq -r '.status.conditions | map(.message) | join(",")' #robocop:disable
Should Be Equal As Integers ${return_code} 0 msg=Error retrieved DSC conditions
Should Contain ${output} operator servicemeshoperator not found. Please install the operator before enabling kserve component #robocop:disable
Should Contain ${output} ServiceMesh operator must be installed for this component's configuration #robocop:disable

${rc} ${logs}= Run And Return Rc And Output
... oc logs -l ${OPERATOR_LABEL_SELECTOR} -c ${OPERATOR_POD_CONTAINER_NAME} -n ${OPERATOR_NS} --ignore-errors
Expand All @@ -219,4 +219,4 @@ DataScienceCluster Should Fail Because Serverless Operator Is Not Installed
${return_code} ${output}= Run And Return Rc And Output
... oc get DataScienceCluster ${DSC_NAME} -n ${OPERATOR_NS} -o json | jq -r '.status.conditions | map(.message) | join(",")' #robocop:disable
Should Be Equal As Integers ${return_code} 0 msg=Error retrieved DSC conditions
Should Contain ${output} operator serverless-operator not found. Please install the operator before enabling kserve component #robocop:disable
Should Contain ${output} Serverless operator must be installed for this component's configuration #robocop:disable

0 comments on commit 33cdaa3

Please sign in to comment.