Re: Add isolation test template in injection_points for wait/wakeup/detach

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-10-18T09:16:50Z
Lists: pgsql-hackers
On Fri, Oct 18, 2024 at 07:58:26AM +0000, Bertrand Drouvot wrote:
> I think that it makes sense to "expose" the basics in a dedicated test. 
> 
> I thought that template.spec could have been another "naming" option but
> basic.spec is better I think.

I am not wedded to the name I have proposed.  No comment on my naming
sense..

> +# Detach before wait does not cause a wait.
> 
> What about?
> 
> Detach before wait does not cause a wait (and so wakeup produces an error)

Sure, why not.
--
Michael

Commits

  1. injection_points: Tweak more permutation in isolation test "basic"

  2. injection_points: Re-enable permutation in isolation test "basic"

  3. injection_points: Improve comment about disabled isolation permutation

  4. injection_points: Disable one permutation in isolation test "basic"

  5. injection_points: Add basic isolation test