pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: injection_points: Add basic isolation test
Date: Mon, 21 Oct 2024 02:11:50 +0000
Message-ID: <E1t2hte-001hSp-Qe@gemulon.postgresql.org> (raw)

injection_points: Add basic isolation test

This test can act as a template when implementing an isolation test with
injection points, and tracks in a much simpler way some of the behaviors
implied in the existing isolation test "inplace" that has been added in
c35f419d6efb.  Particularly, a detach does not affect a backend wait; a
wait needs to be interrupted by a wakeup.

Reviewed-by: Bertrand Drouvot
Discussion: https://postgr.es/m/ZxGTONm_ctQz--io@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a7800cf498a36456bf4bd7a52e3b81cc225c5a65

Modified Files
--------------
src/test/modules/injection_points/Makefile         |  2 +-
.../modules/injection_points/expected/basic.out    | 74 ++++++++++++++++++++++
src/test/modules/injection_points/meson.build      |  1 +
src/test/modules/injection_points/specs/basic.spec | 35 ++++++++++
4 files changed, 111 insertions(+), 1 deletion(-)



Message-ID: <E1t2hte-001hSp-Qe@gemulon.postgresql.org>
Permalink:  ../E1t2hte-001hSp-Qe@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1t2hte-001hSp-Qe@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: injection_points: Add basic isolation test
  In-Reply-To: <E1t2hte-001hSp-Qe@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox