forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6eec809
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 parent3204b8a commit6eec809
1 file changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
783 | 783 | | |
784 | 784 | | |
785 | 785 | | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
786 | 791 | | |
787 | 792 | | |
788 | 793 | | |
| |||
1047 | 1052 | | |
1048 | 1053 | | |
1049 | 1054 | | |
1050 | | - | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
1051 | 1059 | | |
1052 | 1060 | | |
1053 | 1061 | | |
| |||
1062 | 1070 | | |
1063 | 1071 | | |
1064 | 1072 | | |
1065 | | - | |
| 1073 | + | |
1066 | 1074 | | |
1067 | 1075 | | |
1068 | 1076 | | |
1069 | 1077 | | |
1070 | 1078 | | |
1071 | 1079 | | |
1072 | 1080 | | |
1073 | | - | |
| 1081 | + | |
1074 | 1082 | | |
1075 | 1083 | | |
1076 | 1084 | | |
| |||
0 commit comments
Comments
(0)