forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit055891f
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 parenta8458f5 commit055891f
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
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)