File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ function create_and_verify_data_science_pipelines_resources() {
31
31
os::cmd::expect_success " oc apply -n ${DSPAPROJECT} -f ${RESOURCEDIR} /test-dspo-cr.yaml"
32
32
os::cmd::try_until_text " oc get crd -n ${DSPAPROJECT} datasciencepipelinesapplications.datasciencepipelinesapplications.opendatahub.io" " datasciencepipelinesapplications.datasciencepipelinesapplications.opendatahub.io" $odhdefaulttimeout $odhdefaultinterval
33
33
os::cmd::try_until_text " oc -n ${DSPAPROJECT} get pods -l app=ds-pipeline-sample -o 'jsonpath={..status.conditions[?(@.type==" Ready" )].status}'" " True" $odhdefaulttimeout $odhdefaultinterval
34
- running_pods=$( oc get pods -n ${DSPAPROJECT} -l component=data-science-pipelines --field-selector=' status.phase=Running' -o jsonpath=' {$.items[*].metadata.name}' | wc -w)
35
34
echo " Sleeping for 5 minutes for the DSPO CR settle up "
36
35
sleep 5m
36
+ running_pods=$( oc get pods -n ${DSPAPROJECT} -l component=data-science-pipelines --field-selector=' status.phase=Running' -o jsonpath=' {$.items[*].metadata.name}' | wc -w)
37
37
os::cmd::expect_success " if [ " $running_pods " -gt " 0" ]; then exit 0; else exit 1; fi"
38
38
}
39
39
You can’t perform that action at this time.
0 commit comments