make Path MTU Discovery resilient to random packet loss (#4545)

This commit is contained in:
Marten Seemann
2024-06-04 17:10:11 +08:00
committed by GitHub
parent 950de0d8ed
commit 0db354456a
3 changed files with 226 additions and 62 deletions

View File

@@ -18,9 +18,7 @@ import (
)
var _ = Describe("DPLPMTUD", func() {
// 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() {
It("discovers the MTU", func() {
rtt := scaleDuration(5 * time.Millisecond)
const mtu = 1400