Re: TAP test for recovery_end_command
Amul Sul <sulamul@gmail.com>
From: Amul Sul <sulamul@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: Euler Taveira <euler@eulerto.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-10-06T13:19:10Z
Lists: pgsql-hackers
Attachments
- TAP-test_recovery_end_command_v4.patch (application/octet-stream) patch v4
On Wed, Oct 6, 2021 at 1:40 AM Andres Freund <andres@anarazel.de> wrote: > > Hi, > > On 2021-09-14 10:34:09 +0530, Amul Sul wrote: > > +# recovery_end_command_file executed only on recovery end which can happen on > > +# promotion. > > +$standby3->promote; > > +ok(-f "$recovery_end_command_file", > > + 'recovery_end_command executed after promotion'); > > It'd be good to test what happens when recovery_end_command fails... > Thanks for the suggestion, added the same in the attached version. Regards, Amul
Commits
-
Add TAP test for archive_cleanup_command and recovery_end_command
- 46dea2419ee7 15.0 landed