diff --git a/hack/verify-test-code.sh b/hack/verify-test-code.sh index cf776393892..0477c3292d6 100755 --- a/hack/verify-test-code.sh +++ b/hack/verify-test-code.sh @@ -21,7 +21,7 @@ KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. cd "${KUBE_ROOT}" # NOTE: This checks e2e test code without the e2e framework which contains Expect().To(HaveOccurred()) -mapfile -t all_e2e_files < <(find test/e2e -name '*.go' | grep -v 'test/e2e/framework/') +mapfile -t all_e2e_files < <(find test/e2e{,_node,_kubeadm} -name '*.go' | grep -v 'test/e2e/framework/') errors_expect_no_error=() for file in "${all_e2e_files[@]}" do