Skip to content

Commit 59cedcf

Browse files
authored
Merge pull request kubernetes#77411 from liggitt/fix-rc-flake
Expect the correct object type to be removed
2 parents 23f61e0 + 37c9e6b commit 59cedcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cmd/generic-resources.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ run_recursive_resources_tests() {
378378
# Command
379379
output_message=$(! kubectl delete -f hack/testdata/recursive/rc --recursive --grace-period=0 --force 2>&1 "${kube_flags[@]}")
380380
# Post-condition: busybox0 & busybox1 replication controllers are deleted, and since busybox2 is malformed, it should error
381-
kube::test::get_object_assert pods "{{range.items}}{{$id_field}}:{{end}}" ''
381+
kube::test::get_object_assert rc "{{range.items}}{{$id_field}}:{{end}}" ''
382382
kube::test::if_has_string "${output_message}" "Object 'Kind' is missing"
383383

384384
### Rollout on multiple deployments recursively

0 commit comments

Comments
 (0)