Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
68281: roachtest: use port outside ephemeral range for `acceptance/multitenant` r=stevendanna a=erikgrinaker `acceptance/multitenant` starts a tenant server listening on port 36258. This port number falls within Linux' default ephemeral port range of 32768-60999 (see `/proc/sys/net/ipv4/ip_local_port_range`) which TCP clients pick source ports from when establishing outbound connections. This can cause the server to attempt to bind to a port already being used for a client connection, preventing server startup and failing the test (as seen in #68250). This patch changes the port number to the arbitrarily chosen 30258 outside of the ephemeral port range, thus avoiding these collisions. Resolves #68250. Release note: None Co-authored-by: Erik Grinaker <grinaker@cockroachlabs.com>
- Loading branch information