pgsql: injection_points: Add basic isolation test - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: injection_points: Add basic isolation test
Date
Msg-id E1t2hte-001hSp-Qe@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Álvaro Herrera
Date:
Subject: pgsql: Note that index_name in ALTER INDEX ATTACH PARTITION can be sche
Next
From: Michael Paquier
Date:
Subject: pgsql: Fix grammar of a comment in bufmgr.c