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:46
Message-ID: E1xOO6V-000000004pe-0zCe@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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/590788ad0bff40c43935b7c8f41b68886ab0a3de

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 Michael Paquier 2026-11-03 23:39:47 pgsql: Improve stability of authentication test 007_pre_auth
Previous Message Michael Paquier 2026-11-03 23:05:44 pgsql: test_custom_stats: Add test for drop of variable-sized stats kin