You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example,
go env | grep CGO
CGO_ENABLED="0"
go test
--- FAIL: TestDialGoogleIPv4 (0.00 seconds)
dialgoogle_test.go:143: lookup www.google.com: dial udp 8.8.8.8:53: too many open files
--- FAIL: TestTCPLookup (0.00 seconds)
dnsclient_unix_test.go:19: Dial failed: dial tcp 8.8.8.8:53: too many open files
FAIL
exit status 1
FAIL net 18.816s
or
% go env | grep CGO
CGO_ENABLED="1"
% go build -tags netgo .
% go test -tags netgo
--- FAIL: TestDialGoogleIPv4 (0.00 seconds)
dialgoogle_test.go:143: lookup www.google.com: dial udp 8.8.8.8:53: too many open files
--- FAIL: TestTCPLookup (0.00 seconds)
dnsclient_unix_test.go:19: Dial failed: dial tcp 8.8.8.8:53: too many open files
FAIL
exit status 1
FAIL net 18.695s
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: