Files
tailscale/portlist
Brad Fitzpatrick b81b993869 portlist: deflake TestPortlistBackendChurn
The test closed a fixture listener and required the host's total
listening port count to drop, which fails whenever another process
opens a port between the two listings. Instead, check that the closed
port itself is gone. Listen on the dual-stack wildcard at a port
outside the ephemeral range so no other process holds or quickly
reuses the same port number, and ignore entries owned by other known
pids.

It failed on the first run under flakestress before, and passes
36,585 runs now.

Flake analysis: http://flakes/analyze-test?name=tailscale.com%2Fportlist.TestPortlistBackendChurn

Updates #deflake

Change-Id: I12faefb77e597a3480af1f7f7e3932911f94130d
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-12-04 13:35:13 -08:00
..
2026-07-10 17:39:16 -07:00