check / check (push) Waiting to run
The internal/server and internal/ircserver tests picked a port by opening a listener, reading its port and closing it. They then started a server on that number. Another process could take the port in between, and a test failed with "address already in use". The IRC server tests now start the server on 127.0.0.1:0 and read the port back from its listener. The HTTP server tests start the app with port 0. The stop test cannot read that port, so it serves the same HTTP server on a listener it opened and keeps open. Only test files change. Model: opus-5-5