From 056a332ac4569e170875ec26ca828f01a4e91a84 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Tue, 14 May 2024 17:14:02 +0800 Subject: [PATCH] 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. --- integrationtests/self/mtu_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/integrationtests/self/mtu_test.go b/integrationtests/self/mtu_test.go index 7336c5a35..686a236c4 100644 --- a/integrationtests/self/mtu_test.go +++ b/integrationtests/self/mtu_test.go @@ -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(