Re: TAP test for recovery_end_command

From: Andres Freund <andres(at)anarazel(dot)de>
To: Amul Sul <sulamul(at)gmail(dot)com>
Cc: Euler Taveira <euler(at)eulerto(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: TAP test for recovery_end_command
Date: 2021-10-05 20:10:37
Message-ID: 20211005201037.fn533wxzisfgpgrk@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2021-10-05 20:29:25 Re: storing an explicit nonce
Previous Message Andrew Dunstan 2021-10-05 20:03:53 Re: can we add subscription TAP test option "vcregress subscriptioncheck" for MSVC builds?