Re: TAP test for recovery_end_command - Mailing list pgsql-hackers

From Andres Freund
Subject Re: TAP test for recovery_end_command
Date
Msg-id 20211005201037.fn533wxzisfgpgrk@alap3.anarazel.de
Whole thread Raw
In response to Re: TAP test for recovery_end_command  (Amul Sul <sulamul@gmail.com>)
Responses Re: TAP test for recovery_end_command  (Amul Sul <sulamul@gmail.com>)
List pgsql-hackers
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...

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: can we add subscription TAP test option "vcregress subscriptioncheck" for MSVC builds?
Next
From: Bruce Momjian
Date:
Subject: Re: storing an explicit nonce