Add debug for DNS

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-07-24 22:35:54 -04:00
parent 1abc11af90
commit 374045dc79
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
2 changed files with 5 additions and 1 deletions

View file

@ -27,6 +27,9 @@ if [ -z "${PKG}" ]; then
exit 1
fi
export CGO_ENABLED=1
export GODEBUG=netdns=go+2
rm -rf coverage.txt
for d in $(go list "${PKG}/..." | grep -v vendor | grep -v '/test/e2e' | grep -v images); do
t=$(date +%s);

View file

@ -30,6 +30,7 @@ fi
# enabled to use host dns resolver
export CGO_ENABLED=1
export GODEBUG=netdns=go+2
go test -v -race -tags "cgo" \
go test -v -race \
$(go list "${PKG}/..." | grep -v vendor | grep -v '/test/e2e' | grep -v images | grep -v "docs/examples")