Improve integration tests
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
This commit is contained in:
parent
cd8d5b8f10
commit
e522446909
85 changed files with 3482 additions and 4609 deletions
|
@ -3,18 +3,9 @@ set -e
|
|||
|
||||
export DEST=.
|
||||
|
||||
TESTFLAGS+=("-test.timeout=20m" -check.v)
|
||||
|
||||
if [ -n "${VERBOSE}" ]; then
|
||||
TESTFLAGS+=(-v)
|
||||
elif [ -n "${VERBOSE_INTEGRATION}" ]; then
|
||||
TESTFLAGS+=(-v)
|
||||
fi
|
||||
|
||||
cd integration
|
||||
echo "Testing against..."
|
||||
docker version
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
# shellcheck disable=SC2048
|
||||
CGO_ENABLED=0 go test -integration ${TESTFLAGS[*]}
|
||||
go test ./integration -test.timeout=20m -failfast -v ${TESTFLAGS[*]}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue