Merge pull request #77685 from yujuhong/automated-cherry-pick-of-#77411-upstream-release-1.14

Automated cherry pick of #77411: Expect the correct object type to be removed
pull/564/head
Kubernetes Prow Robot 2019-05-10 05:01:59 -07:00 committed by GitHub
commit 8bdf22b6ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -378,7 +378,7 @@ run_recursive_resources_tests() {
# Command
output_message=$(! kubectl delete -f hack/testdata/recursive/rc --recursive --grace-period=0 --force 2>&1 "${kube_flags[@]}")
# Post-condition: busybox0 & busybox1 replication controllers are deleted, and since busybox2 is malformed, it should error
kube::test::get_object_assert pods "{{range.items}}{{$id_field}}:{{end}}" ''
kube::test::get_object_assert rc "{{range.items}}{{$id_field}}:{{end}}" ''
kube::test::if_has_string "${output_message}" "Object 'Kind' is missing"
### Rollout on multiple deployments recursively