]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: skip flaky TestTransportMaxConnsPerHost for now
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 2 May 2019 21:22:05 +0000 (21:22 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 2 May 2019 21:46:14 +0000 (21:46 +0000)
Updates #31784

Change-Id: Iee056c850c03939606b227a12715c76b0339d268
Reviewed-on: https://go-review.googlesource.com/c/go/+/175097
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/http/transport_test.go

index 44a935960ee6a6e8a5764bf1c1756c17053b41bb..dbfbd5792d4a5b8dafeb5e03e2dbb20be8df3db5 100644 (file)
@@ -21,6 +21,7 @@ import (
        "errors"
        "fmt"
        "internal/nettrace"
+       "internal/testenv"
        "io"
        "io/ioutil"
        "log"
@@ -590,9 +591,7 @@ func TestTransportMaxConnsPerHostIncludeDialInProgress(t *testing.T) {
 
 func TestTransportMaxConnsPerHost(t *testing.T) {
        defer afterTest(t)
-       if runtime.GOOS == "js" {
-               t.Skipf("skipping test on js/wasm")
-       }
+       testenv.SkipFlaky(t, 31784)
        h := HandlerFunc(func(w ResponseWriter, r *Request) {
                _, err := w.Write([]byte("foo"))
                if err != nil {