Skip to content

net/http: failing tests on Plan 9 #7237

Closed
@0intro

Description

@0intro
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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions