Skip to content

net/http: TestServeIndexHtml is flaky #4831

Closed
@dvyukov

Description

@dvyukov
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"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions