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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Peter Eisentraut-2
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(-)

Previous Thread Next Thread