Skip to content

Commit

Permalink
Change CI to expect a single operator pod (trustyai-explainability#413)
Browse files Browse the repository at this point in the history
* Update trustyai_biased_models.sh

* Update trustyai_operator.sh
  • Loading branch information
RobGeada authored Oct 24, 2023
1 parent 86749b5 commit ecfa05e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/basictests/trustyai_biased_models.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function install_trustyai_operator(){

oc apply -f ${RESOURCEDIR}/trustyai/trustyai_operator_kfdef.yaml || eval "$FAILURE_HANDLING"
os::cmd::try_until_text "oc get deployment trustyai-operator" "trustyai-operator" $odhdefaulttimeout $odhdefaultinterval || eval "$FAILURE_HANDLING"
os::cmd::try_until_text "oc get pods | grep trustyai-service-operator" "2/2" $odhdefaulttimeout $odhdefaultinterval || eval "$FAILURE_HANDLING"
os::cmd::try_until_text "oc get pods | grep trustyai-service-operator" "1/1" $odhdefaulttimeout $odhdefaultinterval || eval "$FAILURE_HANDLING"
}

function deploy_model() {
Expand Down
2 changes: 1 addition & 1 deletion tests/basictests/trustyai_operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function install_trustyai_operator(){

oc apply -f ${RESOURCEDIR}/trustyai/trustyai_operator_kfdef.yaml || eval "$FAILURE_HANDLING"
os::cmd::try_until_text "oc get deployment trustyai-operator" "trustyai-operator" $odhdefaulttimeout $odhdefaultinterval || eval "$FAILURE_HANDLING"
os::cmd::try_until_text "oc get pods | grep trustyai-service-operator" "2/2" $odhdefaulttimeout $odhdefaultinterval || eval "$FAILURE_HANDLING"
os::cmd::try_until_text "oc get pods | grep trustyai-service-operator" "1/1" $odhdefaulttimeout $odhdefaultinterval || eval "$FAILURE_HANDLING"
}


Expand Down

0 comments on commit ecfa05e

Please sign in to comment.