From c0a4c09040ad02d4b9a1eaa6d95e7b0536f2b2a2 Mon Sep 17 00:00:00 2001 From: Guangming Wang Date: Tue, 1 Oct 2019 20:45:17 +0800 Subject: [PATCH] fix wrong test in generic-resources.sh Signed-off-by: Guangming Wang --- test/cmd/generic-resources.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cmd/generic-resources.sh b/test/cmd/generic-resources.sh index 2f7f3036287..2904833eba7 100755 --- a/test/cmd/generic-resources.sh +++ b/test/cmd/generic-resources.sh @@ -445,7 +445,7 @@ run_recursive_resources_tests() { # Post-condition: busybox0 & busybox1 should error as they are RC's, and since busybox2 is malformed, it should error kube::test::if_has_string "${output_message}" "Object 'Kind' is missing" kube::test::if_has_string "${output_message}" 'replicationcontrollers "busybox0" resuming is not supported' - kube::test::if_has_string "${output_message}" 'replicationcontrollers "busybox0" resuming is not supported' + kube::test::if_has_string "${output_message}" 'replicationcontrollers "busybox1" resuming is not supported' # Clean up ! kubectl delete -f hack/testdata/recursive/rc --recursive "${kube_flags[@]}" --grace-period=0 --force sleep 1