From: Brad Fitzpatrick Date: Tue, 2 Feb 2016 16:05:47 +0000 (+0000) Subject: net/http: mark TestTLSServerClosesConnection as flaky on all systems X-Git-Tag: go1.6rc2~1^2~8 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=eb5bfa71717b30741f2a3e94a5669a3b55498ad4;p=gostls13.git net/http: mark TestTLSServerClosesConnection as flaky on all systems Fixes #14195 Change-Id: I245b3ca3fd7d1a76aa95f2e058f8432ba5ce31ee Reviewed-on: https://go-review.googlesource.com/19160 Run-TryBot: Brad Fitzpatrick Reviewed-by: Austin Clements Reviewed-by: Russ Cox --- diff --git a/src/net/http/transport_test.go b/src/net/http/transport_test.go index 3b2a5f978e..8cb89a4220 100644 --- a/src/net/http/transport_test.go +++ b/src/net/http/transport_test.go @@ -2208,9 +2208,8 @@ func TestTransportTLSHandshakeTimeout(t *testing.T) { // Trying to repro golang.org/issue/3514 func TestTLSServerClosesConnection(t *testing.T) { defer afterTest(t) - if runtime.GOOS == "windows" { - t.Skip("skipping flaky test on Windows; golang.org/issue/7634") - } + setFlaky(t, 7634) + closedc := make(chan bool, 1) ts := httptest.NewTLSServer(HandlerFunc(func(w ResponseWriter, r *Request) { if strings.Contains(r.URL.Path, "/keep-alive-then-die") {