forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite5532f1
committed
Fix failures with TAP tests of pg_ctl on Windows
On Windows, all the hosts spawned by the TAP tests bind to 127.0.0.1.Hence, if there is a port conflict, starting a cluster would immediatelyfail. One of the test scripts of pg_ctl initializes a node withoutPostgresNode.pm, using the default port 5432. This could causeunexpected startup failures in the tests if an independent server was upand running on the same host (the reverse is also possible, though moreunlikely). Fix this issue by assigning properly a free port to the nodeconfigured, in the same range used as for the other nodes part of thetests.Author: Michael PaquierReviewed-by: Andrew DunstanDiscussion:https://postgr.es/m/20191202031444.GC1696@paquier.xyzBackpatch-through: 111 parent55a1954 commite5532f1
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
25 | 26 |
| |
26 | 27 |
| |
| 28 | + | |
27 | 29 |
| |
28 | 30 |
| |
29 | 31 |
| |
|
0 commit comments
Comments
(0)