injection_points: Add basic isolation test
authorMichael Paquier <michael@paquier.xyz>
Mon, 21 Oct 2024 02:10:51 +0000 (11:10 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 21 Oct 2024 02:10:51 +0000 (11:10 +0900)
commita7800cf498a36456bf4bd7a52e3b81cc225c5a65
tree2f7c598a7abcb633900e9c31f4ac37ce30b9016a
parentf1c141fe143cc362d6db918db5008c25e2df7a62
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
src/test/modules/injection_points/Makefile
src/test/modules/injection_points/expected/basic.out [new file with mode: 0644]
src/test/modules/injection_points/meson.build
src/test/modules/injection_points/specs/basic.spec [new file with mode: 0644]