Merge pull request #128414 from soltysh/improve_error

Provide link with e2e guidelines when verity-test-code.sh fails
This commit is contained in:
Kubernetes Prow Robot 2024-10-29 14:21:06 +00:00 committed by GitHub
commit eb445ac66c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,6 +62,7 @@ if [ ${#errors_expect_no_error[@]} -ne 0 ]; then
echo 'The above files need to use framework.ExpectNoError(err) instead of '
echo 'Expect(err).NotTo(HaveOccurred()) or gomega.Expect(err).NotTo(gomega.HaveOccurred())'
echo
echo 'See https://github.com/kubernetes/community/blob/master/contributors/devel/sig-testing/writing-good-e2e-tests.md for more guidance'
} >&2
exit 1
fi