diff --git a/serve_test.go b/serve_test.go index 8f11a599..967c0199 100644 --- a/serve_test.go +++ b/serve_test.go @@ -514,7 +514,7 @@ func TestServer_RunTLS(t *testing.T) { }() // wait for the server to start - conn, err := net.DialTimeout("tcp", s.Server.Addr, 2*time.Second) + conn, err := net.DialTimeout("tcp", s.Server.Addr, 5*time.Second) if err != nil { t.Fatal(err) }