Skip to content

Commit

Permalink
Restoring jupyterhub tests (opendatahub-io#90)
Browse files Browse the repository at this point in the history
* Increase pause after install to 3 hours to allow for debugging tests

* Restoring 5 min pause
  • Loading branch information
Chad Roberts authored May 18, 2020
1 parent 10b1c6b commit 1934f19
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/basictests/jupyterhub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ function test_jupyterhub() {
os::cmd::expect_success "oc project ${ODHPROJECT}"
os::cmd::expect_success_and_text "oc get deploymentconfig jupyterhub" "jupyterhub"
os::cmd::expect_success_and_text "oc get deploymentconfig jupyterhub-db" "jupyterhub-db"
# runningpods=($(oc get pods -l deploymentconfig=jupyterhub --field-selector="status.phase=Running" -o jsonpath="{$.items[*].metadata.name}"))
# os::cmd::expect_success_and_text "echo ${#runningpods[@]}" "1"
# runningpods=($(oc get pods -l deploymentconfig=jupyterhub-db --field-selector="status.phase=Running" -o jsonpath="{$.items[*].metadata.name}"))
# os::cmd::expect_success_and_text "echo ${#runningpods[@]}" "1"
runningpods=($(oc get pods -l deploymentconfig=jupyterhub --field-selector="status.phase=Running" -o jsonpath="{$.items[*].metadata.name}"))
os::cmd::expect_success_and_text "echo ${#runningpods[@]}" "1"
runningpods=($(oc get pods -l deploymentconfig=jupyterhub-db --field-selector="status.phase=Running" -o jsonpath="{$.items[*].metadata.name}"))
os::cmd::expect_success_and_text "echo ${#runningpods[@]}" "1"
}

test_jupyterhub
Expand Down

0 comments on commit 1934f19

Please sign in to comment.