Skip to content

Commit

Permalink
Add debug for DNS
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Jul 25, 2019
1 parent 1abc11a commit 374045d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions build/cover.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 2 additions & 1 deletion build/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit 374045d

Please sign in to comment.