tests: Document robustness tests

Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
This commit is contained in:
Marek Siarkowicz
2022-11-23 16:27:36 +01:00
parent 736c89398b
commit d03ac88b36
7 changed files with 173 additions and 53 deletions

View File

@ -315,7 +315,7 @@ function go_test {
additional_flags=$(${flags_for_package_func} ${pkg})
# shellcheck disable=SC2206
local cmd=( go test ${goTestFlags} ${additional_flags} "$@" ${pkg} )
local cmd=( go test ${goTestFlags} ${additional_flags} ${pkg} "$@" )
# shellcheck disable=SC2086
if ! run env ${goTestEnv} ETCD_VERIFY="${ETCD_VERIFY}" "${cmd[@]}" | tee ${junit_filename_prefix:+"${junit_filename_prefix}.stdout"} | grep --binary-files=text "${go_test_grep_pattern}" ; then