From c1ce4a8e9209fca2a16ab362ab93a2e94eec1c27 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Fri, 15 Sep 2023 18:35:09 +0700 Subject: [PATCH] http09: increase the startup timeout in tests (#4071) --- interop/http09/http_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interop/http09/http_test.go b/interop/http09/http_test.go index f2d48994..03f39263 100644 --- a/interop/http09/http_test.go +++ b/interop/http09/http_test.go @@ -7,6 +7,7 @@ import ( "net" "net/http" "net/http/httptest" + "time" "github.com/quic-go/quic-go" "github.com/quic-go/quic-go/internal/testdata" @@ -42,7 +43,7 @@ var _ = Describe("HTTP 0.9 integration tests", func() { defer server.mutex.Unlock() ln = server.listener return server.listener - }).ShouldNot(BeNil()) + }, 5*time.Second).ShouldNot(BeNil()) saddr = ln.Addr() saddr.(*net.UDPAddr).IP = net.IP{127, 0, 0, 1} })