commands: Improve server startup to make tests less flaky
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 18 Mar 2022 07:54:44 +0000 (08:54 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 21 Mar 2022 08:32:35 +0000 (09:32 +0100)
commit9539069f5eb5f5abbd7138eda10893353d0c5eea
tree576a583ab532525c66a113e5945fb9d1bdf5485e
parent0e305d695820779a5c66fbe3434e3293911d7f98
commands: Improve server startup to make tests less flaky

Do this by announcing/listen on the local address before we start the server.
commands/commandeer.go
commands/server.go
commands/server_test.go
helpers/general.go
magefile.go