agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Masahiko Sawada <msawada@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove an unstable wait from parallel autovacuum regression test
Date: Thu, 09 Apr 2026 16:14:15 +0000
Message-ID: <E1wAs1G-000AEK-2C@gemulon.postgresql.org> (raw)
Remove an unstable wait from parallel autovacuum regression test.
The test 001_parallel_autovacuum.pl verified that vacuum delay
parameters are propagated to parallel vacuum workers by using
injection points. It previously waited for autovacuum to complete on
the test_autovac table. However, since injection points are
cluster-wide, an autovacuum worker could be triggered on tables in
other databases (e.g., template1) and get stuck at the same injection
point. This could lead to a timeout when the test waits for the
expected table's autovacuum to finish.
This commit removes the wait for autovacuum completion from this
specific test case. Since the primary goal is to verify the
propagation of parameter updates, which is already confirmed via log
messages, waiting for the entire vacuum process to finish is
unnecessary and prone to instability in concurrent test environments.
Author: Sami Imseih <samimseih@gmail.com>
Discussion: https://postgr.es/m/CAA5RZ0s+kZZRMSF4HW7tZ9W2jS1o4B+Fg8dr5a-T6mANX+mdQA@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/8030b839d3d2be1038297db852dbe0578c1b46ce
Modified Files
--------------
src/test/modules/test_autovacuum/t/001_parallel_autovacuum.pl | 2 --
1 file changed, 2 deletions(-)
Message-ID: <E1wAs1G-000AEK-2C@gemulon.postgresql.org>
Permalink: ../E1wAs1G-000AEK-2C@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1wAs1G-000AEK-2C@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: msawada@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Remove an unstable wait from parallel autovacuum regression test
In-Reply-To: <E1wAs1G-000AEK-2C@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox