Flaky test: mail_and_folder_report_honest_errors_when_daemon_unreachable (port-reuse race) #347

Open
opened 2026-07-31 20:55:33 +00:00 by KofTwentyTwo · 0 comments
KofTwentyTwo commented 2026-07-31 20:55:33 +00:00 (Migrated from github.com)

Surfaced during WS-C3 (#291). The nuncio-cli test mail_and_folder_report_honest_errors_when_daemon_unreachable binds an ephemeral port, drops it, then expects that now-free port to still be unreachable — a port-reuse race that failed once then passed on retry/in isolation. Make it deterministic (e.g. hold the listener/port so it can't be re-bound, or point at a guaranteed-closed address) so it can't flake. Low priority. Source: PR #346.

Surfaced during WS-C3 (#291). The nuncio-cli test mail_and_folder_report_honest_errors_when_daemon_unreachable binds an ephemeral port, drops it, then expects that now-free port to still be unreachable — a port-reuse race that failed once then passed on retry/in isolation. Make it deterministic (e.g. hold the listener/port so it can't be re-bound, or point at a guaranteed-closed address) so it can't flake. Low priority. Source: PR #346.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KofTwentyTwo/nuncio#347