Skip to content

Commit 73749f6

Browse files
committed
WIP: Update e2e basictests to use APIServer Route
1 parent fb4cd2f commit 73749f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/basictests/dsp-operator.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function create_and_verify_data_science_pipelines_resources() {
3838
function check_data_science_pipeline_route() {
3939
header "Checking Routes of Data Science Pipeline availability"
4040

41-
os::cmd::try_until_text "oc get pods -n ${DSPAPROJECT} -l app=ds-pipeline-ui-sample --field-selector='status.phase=Running' -o jsonpath='{$.items[*].metadata.name}' | wc -w" "1" $odhdefaulttimeout $odhdefaultinterval
41+
os::cmd::try_until_text "oc get pods -n ${DSPAPROJECT} -l app=ds-pipeline-sample --field-selector='status.phase=Running' -o jsonpath='{$.items[*].metadata.name}' | wc -w" "1" $odhdefaulttimeout $odhdefaultinterval
4242
}
4343

4444
function setup_monitoring() {
@@ -59,8 +59,8 @@ function test_metrics() {
5959
function fetch_runs() {
6060
header "Fetch the dsp route and verify it works"
6161

62-
ROUTE=$(oc get route -n ${DSPAPROJECT} ds-pipeline-ui-sample --template={{.spec.host}})
63-
SA_TOKEN=$(oc create token ds-pipeline-ui-sample -n ${DSPAPROJECT})
62+
ROUTE=$(oc get route -n ${DSPAPROJECT} ds-pipeline-sample --template={{.spec.host}})
63+
SA_TOKEN=$(oc create token ds-pipeline-sample -n ${DSPAPROJECT})
6464

6565
os::cmd::try_until_text "curl -s -k -H \"Authorization: Bearer ${SA_TOKEN}\" 'https://${ROUTE}/apis/v1beta1/runs'" "{}" $odhdefaulttimeout $odhdefaultinterval
6666
}

0 commit comments

Comments
 (0)