From 2c040ea3cd92964e90aabec28c61df90bea1ad04 Mon Sep 17 00:00:00 2001 From: Maciej Szulik Date: Tue, 11 Apr 2017 11:59:20 +0200 Subject: [PATCH] Remove -p from oc exec in end-to-end, since it's deprecated --- test/end-to-end/core.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/end-to-end/core.sh b/test/end-to-end/core.sh index 63a1635eeee8..430f4e6b7025 100755 --- a/test/end-to-end/core.sh +++ b/test/end-to-end/core.sh @@ -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'