forked from quic-go/quic-go
http09: increase the startup timeout in tests (#4071)
This commit is contained in:
@@ -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}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user