From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add tap test for pg_signal_autovacuum role
Date: Tue, 16 Jul 2024 01:06:55 +0000
Message-ID: <E1sTWed-001pGg-Ig@gemulon.postgresql.org> (raw)
Add tap test for pg_signal_autovacuum role
This commit provides testig coverage for ccd38024bc3c, checking that a
role granted pg_signal_autovacuum_worker is able to stop a vacuum
worker.
An injection point with a wait is placed at the beginning of autovacuum
worker startup to make sure that a worker is still alive when sending
and processing the signal sent.
Author: Anthony Leung, Michael Paquier, Kirill Reshke
Reviewed-by: Andrey Borodin, Nathan Bossart
Discussion: https://postgr.es/m/CALdSSPiQPuuQpOkF7x0g2QkA5eE-3xXt7hiJFvShV1bHKDvf8w@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d2b74882cab84b9f4fdce0f2f32e892ba9164f5c
Modified Files
--------------
src/backend/postmaster/autovacuum.c | 7 ++
src/test/modules/test_misc/meson.build | 3 +-
.../modules/test_misc/t/006_signal_autovacuum.pl | 95 ++++++++++++++++++++++
3 files changed, 104 insertions(+), 1 deletion(-)
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: Add tap test for pg_signal_autovacuum role
In-Reply-To: <E1sTWed-001pGg-Ig@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