Provide link with e2e guidelines when verity-test-code.sh fails

Signed-off-by: Maciej Szulik <soltysh@gmail.com>
This commit is contained in:
Maciej Szulik 2024-10-29 13:07:05 +01:00
parent 66b3dc1a38
commit 97fcb05374
No known key found for this signature in database
GPG Key ID: F15E55D276FA84C4

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