forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdd12eb3
committed
Make sure to run pg_isready on correct port
The current code can have pg_isready unexpectedly succeed if there is aserver running on the default port. To avoid this we delay running thetest until after a node has been created but before it starts, and thenuse that node's port, so we are fairly sure there is nothing running onthe port.Backpatch to all live branches.1 parent3c1c82d commitdd12eb3
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | 15 | | |
18 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments
Comments
(0)