Commit bf35b7c8 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

net/http: skip flaky TestTransportMaxConnsPerHost for now

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: default avatarIan Lance Taylor <iant@golang.org>
parent 0a338f75
...@@ -21,6 +21,7 @@ import ( ...@@ -21,6 +21,7 @@ import (
"errors" "errors"
"fmt" "fmt"
"internal/nettrace" "internal/nettrace"
"internal/testenv"
"io" "io"
"io/ioutil" "io/ioutil"
"log" "log"
...@@ -590,9 +591,7 @@ func TestTransportMaxConnsPerHostIncludeDialInProgress(t *testing.T) { ...@@ -590,9 +591,7 @@ func TestTransportMaxConnsPerHostIncludeDialInProgress(t *testing.T) {
func TestTransportMaxConnsPerHost(t *testing.T) { func TestTransportMaxConnsPerHost(t *testing.T) {
defer afterTest(t) defer afterTest(t)
if runtime.GOOS == "js" { testenv.SkipFlaky(t, 31784)
t.Skipf("skipping test on js/wasm")
}
h := HandlerFunc(func(w ResponseWriter, r *Request) { h := HandlerFunc(func(w ResponseWriter, r *Request) {
_, err := w.Write([]byte("foo")) _, err := w.Write([]byte("foo"))
if err != nil { if err != nil {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment