forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb062362
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 parent0f1367c commitb062362
1 file changed
+11
-3
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
812 | 812 |
| |
813 | 813 |
| |
814 | 814 |
| |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
815 | 820 |
| |
816 | 821 |
| |
817 | 822 |
| |
| |||
1088 | 1093 |
| |
1089 | 1094 |
| |
1090 | 1095 |
| |
1091 |
| - | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
1092 | 1100 |
| |
1093 | 1101 |
| |
1094 | 1102 |
| |
| |||
1103 | 1111 |
| |
1104 | 1112 |
| |
1105 | 1113 |
| |
1106 |
| - | |
| 1114 | + | |
1107 | 1115 |
| |
1108 | 1116 |
| |
1109 | 1117 |
| |
1110 | 1118 |
| |
1111 | 1119 |
| |
1112 | 1120 |
| |
1113 | 1121 |
| |
1114 |
| - | |
| 1122 | + | |
1115 | 1123 |
| |
1116 | 1124 |
| |
1117 | 1125 |
| |
|
0 commit comments
Comments
(0)