pgsql: Improve stability of authentication test 007_pre_auth

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve stability of authentication test 007_pre_auth
Date: 2026-11-03 23:39:47
Message-ID: E1xOO6V-000000004pi-19Nt@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve stability of authentication test 007_pre_auth

The injection point wait used by the test could be reached by autovacuum
workers or the logical replication launcher, leading to sporadic
failures.

The configuration of the test is tweaked so as these kinds of processes
are not spawned anymore, which should be enough to silence the problems.

Reported-by: Alexander Lakhin <exclusion(at)gmail(dot)com>
Discussion: https://postgr.es/m/c984ed89-cac1-47a9-91fa-4d3287722203@gmail.com
Backpatch-through: 18

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a02de147ab92dc3c7a4abc3648fcbfd10be94490

Modified Files
--------------
src/test/authentication/t/007_pre_auth.pl | 5 +++++
1 file changed, 5 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2026-11-04 00:44:57 pgsql: Fix Memoize to correctly use clause's input collation
Previous Message Michael Paquier 2026-11-03 23:39:46 pgsql: Improve stability of authentication test 007_pre_auth