From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: In LDAP test, restart after pg_hba.conf changes
Date: Tue, 13 Feb 2018 14:15:03 +0000
Message-ID: <E1elbMN-0006vc-MS@gemulon.postgresql.org> (raw)
In LDAP test, restart after pg_hba.conf changes
Instead of issuing a reload after pg_hba.conf changes between test
cases, run a full restart. With a reload, an error in the new
pg_hba.conf is ignored and the tests will continue to run with the old
settings, invalidating the subsequent test cases. With a restart, a
faulty pg_hba.conf will lead to the test being aborted, which is what
we'd rather want.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/b4e2ada347bd8ae941171bd0761462e5b11b765d
Modified Files
--------------
src/test/ldap/t/001_auth.pl | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter_e@gmx.net
Subject: Re: pgsql: In LDAP test, restart after pg_hba.conf changes
In-Reply-To: <E1elbMN-0006vc-MS@gemulon.postgresql.org>
References: <E1elbMN-0006vc-MS@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