-
Notifications
You must be signed in to change notification settings - Fork 18k
net package test hangs connecting unavailable server #1450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
I just ran into this. It appears that 74.125.19.99 was previously an address for www.google.com, and some tests have this IP hardcoded into them. For instance, there's some code in ./src/pkg/net/timeout_test.go like this: func TestTimeoutTCP(t *testing.T) { // 74.125.19.99 is www.google.com. // could use dns, but dns depends on // timeouts and this is the timeout test. testTimeout(t, "tcp", "74.125.224.49:80", false) } See also ./src/pkg/net/dialgoogle_test.go. I wonder if a more "permanent" IP could be used for this purpose. |
This issue was fixed. http://code.google.com/p/go/source/detail?r=4e936318f783014935e94c169bcffabdb4ab335e |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: