Closed
Description
What steps will reproduce the problem? cd pkg/net/http; go test -short What is the expected output? What do you see instead? The following tests are failing: serve_test.go TestServerTimeouts TestOnlyWriteTimeout TestTLSHandshakeTimeout TestClientWriteShutdown transport_test.go TestTransportPersistConnLeak TestTransportPersistConnLeakShortBody TestIssue4191_InfiniteGetTimeout TestIssue4191_InfiniteGetToPutTimeout The timeout tests are failing because of the lack of deadline support. The other issues are: --- FAIL: TestClientWriteShutdown (0.01 seconds) serve_test.go:1430: Dial: not supported by plan 9 --- FAIL: TestTransportPersistConnLeak (0.82 seconds) transport_test.go:803: goroutine growth: 93 -> 193 -> 99 (delta: 6) transport_test.go:804: too many new goroutines --- FAIL: TestTransportPersistConnLeakShortBody (1.10 seconds) transport_test.go:843: goroutine growth: 93 -> 153 -> 153 (delta: 60) transport_test.go:845: too many new goroutines