tests: disable caching in integration tests

With go 1.10 integration tests will returns cached results since no test
code has changed.

Disable caching using the `-count 1` option.
This commit is contained in:
Simone Gotti 2018-02-23 11:24:28 +01:00
parent 61b834d47c
commit 5c85f9a1e8

2
test
View File

@ -123,7 +123,7 @@ if [ -n "$INTEGRATION" ]; then
fi
[ -z "$PARALLEL" ] && PARALLEL=4
go test -timeout 20m $@ -v -parallel ${PARALLEL} ${REPO_PATH}/tests/integration
go test -timeout 20m $@ -v -count 1 -parallel ${PARALLEL} ${REPO_PATH}/tests/integration
fi
echo "Success"