Run verify-test-code on all e2e tests

This commit is contained in:
Odin Ugedal 2019-06-08 19:44:23 +02:00
parent 6bb8bb0227
commit b0a1cba71a
No known key found for this signature in database
GPG Key ID: AFF9C8242CF7A7AF

View File

@ -21,7 +21,7 @@ KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
cd "${KUBE_ROOT}" cd "${KUBE_ROOT}"
# NOTE: This checks e2e test code without the e2e framework which contains Expect().To(HaveOccurred()) # 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=() errors_expect_no_error=()
for file in "${all_e2e_files[@]}" for file in "${all_e2e_files[@]}"
do do