git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: f201da3) | patch
TAP tests: check for postmaster.pid anyway when "pg_ctl start" fails.
2022年1月19日 21:29:09 +0000 (16:29 -0500)
2022年1月19日 21:29:09 +0000 (16:29 -0500)
commit 6c4a8903b93fa5ee088a282b2e8b79ad6571a853
TAP tests: check for postpid anyway when "pg_ctl start" fails.

"pg_ctl start" might start a new postmaster and then return failure
anyway, for example if PGCTLTIMEOUT is exceeded. If there is a
postmaster there, it's still incumbent on us to shut it down at
script end, so check for the PID file even though we are about
to fail.

This has been broken all along, so back-patch to all supported branches.

Discussion: https://postgr.es/m/647439.1642622744@sss.pgh.pa.us
src/test/perl/PostgreSQL/Test/Cluster.pm diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /