Skip to content

Commit 1ad8362

Browse files
committed
Remove -p from oc exec in end-to-end, since it's deprecated
1 parent 7fc8a2c commit 1ad8362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/end-to-end/core.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ os::log::info "Validating exec"
460460
frontend_pod=$(oc get pod -l deploymentconfig=frontend --template='{{(index .items 0).metadata.name}}')
461461
# when running as a restricted pod the registry will run with a pre-allocated
462462
# user in the neighborhood of 1000000+. Look for a substring of the pre-allocated uid range
463-
os::cmd::expect_success_and_text "oc exec -p ${frontend_pod} id" '1000'
463+
os::cmd::expect_success_and_text "oc exec ${frontend_pod} id" '1000'
464464
os::cmd::expect_success_and_text "oc rsh pod/${frontend_pod} id -u" '1000'
465465
os::cmd::expect_success_and_text "oc rsh -T ${frontend_pod} id -u" '1000'
466466

0 commit comments

Comments
 (0)