You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(e2e): allocate dynamic host ports for local runs (#2538)
The variant runner hardcoded host ports (backend 3000, redpanda 19092, …) from
variant.json, so e2e collided with anything already on those ports — e.g. a dev
Console on :3000. When the readiness curl hit the *other* server, tests ran
against it and failed confusingly.
run-variant.mjs now picks free ports in a non-ephemeral range (20000–45000, to
avoid the OS handing them to outbound connections before Docker binds) for each
service the variant exposes, exports them via E2E_PORTS_OVERRIDE +
REACT_APP_ORIGIN, and global-setup.mjs merges the override onto variant.json.
CI keeps its fixed ports (separate runners) unless E2E_DYNAMIC_PORTS=1.
0 commit comments