test-network-ports

test-network-ports

Hand out free localhost TCP ports for integration tests from a private band below the kernel's ephemeral range, coordinated across processes by file locks and verified bindable before being returned. This avoids the races inherent in bind(0)-based allocation, where an OS-assigned port can land on a port a test has reserved but not yet bound.

Modules

test-network-ports-0.1.0.0