]> Cypherpunks repositories - gostls13.git/commitdiff
net: enable TestCancelRequestWithChannelBeforeDo on Plan 9
authorDavid du Colombier <0intro@gmail.com>
Tue, 18 Oct 2016 13:28:44 +0000 (15:28 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 18 Oct 2016 13:31:14 +0000 (13:31 +0000)
This issue has been fixed in CL 31390.

Fixes #11476.

Change-Id: I6658bda2e494d3239d62c49d0bd5d34a36b744d0
Reviewed-on: https://go-review.googlesource.com/31394
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/transport_test.go

index 3051ec9473ab3f490c52b629ece2691258af2470..1221642f2f0167cadfccc9ce1b93c7de787c0407 100644 (file)
@@ -1696,12 +1696,6 @@ func testCancelRequestWithChannelBeforeDo(t *testing.T, withCtx bool) {
        defer ts.Close()
        defer close(unblockc)
 
-       // Don't interfere with the next test on plan9.
-       // Cf. https://golang.org/issues/11476
-       if runtime.GOOS == "plan9" {
-               defer time.Sleep(500 * time.Millisecond)
-       }
-
        tr := &Transport{}
        defer tr.CloseIdleConnections()
        c := &Client{Transport: tr}