Add debug for DNS
This commit is contained in:
parent
1abc11af90
commit
374045dc79
2 changed files with 5 additions and 1 deletions
|
@ -27,6 +27,9 @@ if [ -z "${PKG}" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
export CGO_ENABLED=1
|
||||||
|
export GODEBUG=netdns=go+2
|
||||||
|
|
||||||
rm -rf coverage.txt
|
rm -rf coverage.txt
|
||||||
for d in $(go list "${PKG}/..." | grep -v vendor | grep -v '/test/e2e' | grep -v images); do
|
for d in $(go list "${PKG}/..." | grep -v vendor | grep -v '/test/e2e' | grep -v images); do
|
||||||
t=$(date +%s);
|
t=$(date +%s);
|
||||||
|
|
|
@ -30,6 +30,7 @@ fi
|
||||||
|
|
||||||
# enabled to use host dns resolver
|
# enabled to use host dns resolver
|
||||||
export CGO_ENABLED=1
|
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")
|
$(go list "${PKG}/..." | grep -v vendor | grep -v '/test/e2e' | grep -v images | grep -v "docs/examples")
|
||||||
|
|
Loading…
Reference in a new issue