pgsql: In LDAP test, restart after pg_hba.conf changes

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: In LDAP test, restart after pg_hba.conf changes
Date: 2018-02-13 14:15:03
Message-ID: E1elbMN-0006vc-MS@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2018-02-13 20:23:04 pgsql: Fix typo
Previous Message Peter Eisentraut 2018-02-13 03:40:16 pgsql: Fix typo