Skip to content

test(net): preserve UDP reservations in candidate race fixtures - #77

Merged
rldyourmnd merged 1 commit into
mainfrom
fix/candidate-fixture-bound-sockets
Oct 2, 2026
Merged

rldyourmnd merged 1 commit into
mainfrom
fix/candidate-fixture-bound-sockets

Conversation

@rldyourmnd

@rldyourmnd rldyourmnd commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Candidate fixtures reserved/sorted ephemeral UDP ports, dropped their sockets and rebound the addresses during endpoint setup. Ubuntu workspace CI at ee1c91c hit Address already in use before reaching its identity assertions.

The fixtures now transfer their actual bound sockets through the existing owned-transport seam. Candidate order, the held blackhole socket, both families, wrong-identity rejection, authenticated winner and handshake bounds remain unchanged. No runtime API, transport behavior or binding retry is added.

Validation: all seven candidate-race tests passed on macOS; strict net/all-target/all-feature lint passed. All seven tests and strict net/all-target/all-feature lint also passed on Linux. Original CI failure is retained in issue #76 and its exact job.

Closes #76.

@rldyourmnd
rldyourmnd merged commit 5fd8f42 into main Oct 2, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(net): candidate fixtures release reserved ports before endpoint setup

1 participant