- Notifications
You must be signed in to change notification settings - Fork5k
Commit6c4a890
committed
TAP tests: check for postmaster.pid anyway when "pg_ctl start" fails.
"pg_ctl start" might start a new postmaster and then return failureanyway, for example if PGCTLTIMEOUT is exceeded. If there is apostmaster there, it's still incumbent on us to shut it down atscript end, so check for the PID file even though we are aboutto fail.This has been broken all along, so back-patch to all supported branches.Discussion:https://postgr.es/m/647439.1642622744@sss.pgh.pa.us1 parentf201da3 commit6c4a890
1 file changed
+11
-3
lines changedLines changed: 11 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
845 | 845 |
| |
846 | 846 |
| |
847 | 847 |
| |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
848 | 853 |
| |
849 | 854 |
| |
850 | 855 |
| |
| |||
1123 | 1128 |
| |
1124 | 1129 |
| |
1125 | 1130 |
| |
1126 |
| - | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
1127 | 1135 |
| |
1128 | 1136 |
| |
1129 | 1137 |
| |
| |||
1138 | 1146 |
| |
1139 | 1147 |
| |
1140 | 1148 |
| |
1141 |
| - | |
| 1149 | + | |
1142 | 1150 |
| |
1143 | 1151 |
| |
1144 | 1152 |
| |
1145 | 1153 |
| |
1146 | 1154 |
| |
1147 | 1155 |
| |
1148 | 1156 |
| |
1149 |
| - | |
| 1157 | + | |
1150 | 1158 |
| |
1151 | 1159 |
| |
1152 | 1160 |
| |
|
0 commit comments
Comments
(0)