Skip to content
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

Tests fail in China #1115

Closed
gopherbot opened this issue Sep 17, 2010 · 3 comments
Closed

Tests fail in China #1115

gopherbot opened this issue Sep 17, 2010 · 3 comments

Comments

@gopherbot
Copy link
Contributor

by jan.newmarch:

www.google.com is blocked in China. So the test net.TestDialGoogle fails, aborting all
the rest of the tests. Preferred if failure is reported but the tests continue

--- FAIL: net.TestDialGoogle
    -- 74.125.19.99:80 --
    -- www.google.com:80 --
    Dial("tcp4", "", "www.google.com:80") = _, dial tcp4 66.249.89.104:80: connection timed out

8g version 6288 release release.2010-09-15
@adg
Copy link
Contributor

adg commented Sep 17, 2010

Comment 1:

I'm not sure what the general fix is, here. We could define an environment variable that
you can set (TESTHOST or similar) to override the google.com default.
Otherwise, just add 'net' and 'http' to the NOTEST list in src/pkg/Makefile.

Owner changed to [email protected].

Status changed to Thinking.

@peterGo
Copy link
Contributor

peterGo commented Sep 17, 2010

Comment 2:

pkg/Makefile: allow DISABLE_NET_TESTS=1 to disable network tests
http://golang.org/cl/1689046

@rsc
Copy link
Contributor

rsc commented Sep 17, 2010

Comment 3:

DISABLE_NET_TESTS is the right fix for now.
When we redo http we will make the tests
not depend on external servers.

Status changed to Duplicate.

Merged into issue #20.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc unassigned adg Jun 22, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants