Skip to content

Commit

Permalink
test/cmd/idle: don't delete the service during the test
Browse files Browse the repository at this point in the history
oc/idle will now additionally annotate the service. The test
explicitly deletes it so removing that call so that we can verify the
following PRs, all related to annotating the service when idling.

- openshift/oc#720
- openshift/router#225
- openshift/sdn#252
- openshift/openshift-apiserver#180
- openshift/openshift-controller-manager#165
  • Loading branch information
frobware committed Jan 29, 2021
1 parent 2581158 commit 8cf5c09
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/extended/testdata/cmd/test/cmd/idle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ setup_idling_resources() {
os::cmd::try_until_success 'oc describe endpoints idling-echo'
local endpoints_json
endpoints_json="$(oc get endpoints idling-echo -o json)"
os::cmd::expect_success 'oc delete service idling-echo'
os::cmd::expect_success "echo '${endpoints_json}' | oc create -f -"
os::cmd::expect_success 'oc describe endpoints idling-echo'
# deployer pod won't work, so just scale up the rc ourselves
Expand Down

0 comments on commit 8cf5c09

Please sign in to comment.