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

net/http: TestServeIndexHtml is flaky #4831

Closed
dvyukov opened this issue Feb 17, 2013 · 2 comments
Closed

net/http: TestServeIndexHtml is flaky #4831

dvyukov opened this issue Feb 17, 2013 · 2 comments
Milestone

Comments

@dvyukov
Copy link
Member

dvyukov commented Feb 17, 2013

parent: 15771:0adf91947752 tip
darwin/amd64

$ while ./http.test -test.v -test.cpu=1,2,3,4,5 -test.short; do true; done;

eventually fails with:
--- FAIL: TestServeIndexHtml-5 (0.00 seconds)
fs_test.go:386:     for path "/testdata/" got "404 page not found\n",
want "index.html says hello\n"
fs_test.go:386:     for path "/testdata/index.html" got "404 page not
found\n", want "index.html says hello\n"
@dvyukov
Copy link
Member Author

dvyukov commented Feb 17, 2013

Comment 1:

When I disabled the test, it failed with:
--- FAIL: TestServeContent-5 (0.00 seconds)
fs_test.go:529:     stat testdata/index.html: no such file or directory

@dvyukov
Copy link
Member Author

dvyukov commented Feb 17, 2013

Comment 2:

I was running it from a wrong dir...

Status changed to Invalid.

@rsc rsc added this to the Go1.1 milestone Apr 14, 2015
@rsc rsc removed the go1.1maybe label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
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

3 participants