respect minimum idle timeout of 3 PTOs (#3909)

This commit is contained in:
Benedikt Spies 2023-06-20 10:47:29 +02:00 committed by GitHub
parent 85764da3b6
commit f57f876446
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 56 additions and 6 deletions

View file

@ -105,7 +105,7 @@ var _ = Describe("Timeout tests", func() {
})
It("returns net.Error timeout errors when an idle timeout occurs", func() {
const idleTimeout = 100 * time.Millisecond
const idleTimeout = 500 * time.Millisecond
server, err := quic.ListenAddr(
"localhost:0",
@ -173,7 +173,7 @@ var _ = Describe("Timeout tests", func() {
var idleTimeout time.Duration
BeforeEach(func() {
idleTimeout = scaleDuration(100 * time.Millisecond)
idleTimeout = scaleDuration(500 * time.Millisecond)
})
It("times out after inactivity", func() {
@ -315,7 +315,7 @@ var _ = Describe("Timeout tests", func() {
})
It("does not time out if keepalive is set", func() {
const idleTimeout = 100 * time.Millisecond
const idleTimeout = 500 * time.Millisecond
server, err := quic.ListenAddr(
"localhost:0",