Closed AsakuraMizu closed 4 months ago
The doctest for TcpListener: https://github.com/compio-rs/compio/blob/9939253f42a171d701d94ff6e2ca9ed4dd5865d4/compio-net/src/tcp.rs#L18-L40 contains an issue that it binds to a fixed port and do no cleanup. This causes that when running tests locally, after the first run I have to wait for a minute for another run to let the system do cleanup or it will fail due to Address already in use.
TcpListener
Address already in use
The doctest for
TcpListener
: https://github.com/compio-rs/compio/blob/9939253f42a171d701d94ff6e2ca9ed4dd5865d4/compio-net/src/tcp.rs#L18-L40 contains an issue that it binds to a fixed port and do no cleanup. This causes that when running tests locally, after the first run I have to wait for a minute for another run to let the system do cleanup or it will fail due toAddress already in use
.