retry the PMTUD integration test up to 3 times (#4519)

This test is very sensitive to packet loss, as the loss of a single Path MTU
probe packet makes DPLPMTUD clip the assumed MTU at that value.
This commit is contained in:
Marten Seemann
2024-05-14 17:14:02 +08:00
committed by GitHub
parent 2557fb98b2
commit 056a332ac4

View File

@@ -17,8 +17,10 @@ import (
)
var _ = Describe("DPLPMTUD", func() {
It("discovers the MTU", func() {
rtt := scaleDuration(10 * time.Millisecond)
// This test is very sensitive to packet loss, as the loss of a single Path MTU probe packet makes DPLPMTUD
// clip the assumed MTU at that value.
It("discovers the MTU", FlakeAttempts(3), func() {
rtt := scaleDuration(5 * time.Millisecond)
const mtu = 1400
ln, err := quic.ListenAddr(