pgsql: injection_points: Add basic isolation test

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: injection_points: Add basic isolation test
Date: 2024-10-21 02:11:50
Message-ID: E1t2hte-001hSp-Qe@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-10-21 02:27:16 pgsql: Fix grammar of a comment in bufmgr.c
Previous Message Alexander Korotkov 2024-10-20 17:21:50 Re: pgsql: Implement pg_wal_replay_wait() stored procedure