Skip to content

Commit

Permalink
Remove -p from oc exec in end-to-end, since it's deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
soltysh committed Jun 7, 2017
1 parent caa6aab commit 2c040ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/end-to-end/core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ os::log::info "Validating exec"
frontend_pod=$(oc get pod -l deploymentconfig=frontend --template='{{(index .items 0).metadata.name}}')
# when running as a restricted pod the registry will run with a pre-allocated
# user in the neighborhood of 1000000+. Look for a substring of the pre-allocated uid range
os::cmd::expect_success_and_text "oc exec -p ${frontend_pod} id" '1000'
os::cmd::expect_success_and_text "oc exec ${frontend_pod} id" '1000'
os::cmd::expect_success_and_text "oc rsh pod/${frontend_pod} id -u" '1000'
os::cmd::expect_success_and_text "oc rsh -T ${frontend_pod} id -u" '1000'

Expand Down

0 comments on commit 2c040ea

Please sign in to comment.