| From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Choose ports for test servers less likely to result in conflicts |
| Date: | 2024-07-08 20:14:04 |
| Message-ID: | [email protected] |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Choose ports for test servers less likely to result in conflicts
If we choose ports in the range typically used for ephemeral ports there
is a danger of encountering a port conflict due to a race condition
between the time we choose the port in a range below that typically used
to allocate ephemeral ports, but higher than the range typically used by
well known services.
Author: Jelte Fenema-Nio, with some editing by me.
Discussion: https://postgr.es/m/[email protected]
Backpatch to all live branches (12 and up)
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/4b4b931bcdf23f5facd49809278a3048c4fdba1f
Modified Files
--------------
src/test/perl/PostgreSQL/Test/Cluster.pm | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Dunstan | 2024-07-08 20:14:05 | pgsql: Force nodes for SSL tests to start in TCP mode |
| Previous Message | Tom Lane | 2024-07-08 18:04:09 | pgsql: Use xmlParseInNodeContext not xmlParseBalancedChunkMemory. |