clone

a personal forge on plain git: static pages, stacked-diff reviews, signed local ci, repo sites and releases

Start a scenario's private server on a port of its own

cat committed 2234807
Scenarios run at once, and free_port only finds a port nothing listens
on just then. When another scenario's server took it first, this one's
exited with EADDRINUSE and the scenario talked to someone else's forge,
getting a 404 or no answer (identity-backup, identity-sessions and
identity-enroll failed now and then that way). private_server now waits
for the server to say it is listening on its port, and tries another
port if it exited instead.
commit
22348072565d397e36ffa46982f27725a2b73a48
parent
47539151070d5340c701a6460c1994a816295aeb
author
cat <admin@dev.site>
kind
fix risk score 1.0 of 3, Jev's estimate
1 file changed, +20 -4
Mtest/lib.sh24++++++++++++++++++++----
M test/lib.sh +20 -4