Skip to content

Commit

Permalink
retry the PMTUD integration test up to 3 times (#4519)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
marten-seemann committed May 14, 2024
1 parent 2557fb9 commit 056a332
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions integrationtests/self/mtu_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 056a332

Please sign in to comment.