From: Brad Fitzpatrick Date: Fri, 6 May 2016 18:21:22 +0000 (+0000) Subject: net/http: wait longer for subprocess to startup in test X-Git-Tag: go1.7beta1~290 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4eccc77f196edfa7646b0e92a11ef8d96ef85b57;p=gostls13.git net/http: wait longer for subprocess to startup in test Might deflake the occasional linux-amd64-race failures. Change-Id: I273b0e32bb92236168eb99887b166e079799c1f1 Reviewed-on: https://go-review.googlesource.com/22858 Reviewed-by: Ian Lance Taylor --- diff --git a/src/net/http/serve_test.go b/src/net/http/serve_test.go index 661f355d0d..b34875f061 100644 --- a/src/net/http/serve_test.go +++ b/src/net/http/serve_test.go @@ -4268,7 +4268,7 @@ func BenchmarkClient(b *testing.B) { // Wait for the server process to respond. url := "http://localhost:" + port + "/" for i := 0; i < 100; i++ { - time.Sleep(50 * time.Millisecond) + time.Sleep(100 * time.Millisecond) if _, err := getNoBody(url); err == nil { break }