In LDAP test, restart after pg_hba.conf changes

Peter Eisentraut <peter_e@gmx.net>

Commit: b4e2ada347bd8ae941171bd0761462e5b11b765d
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2018-02-13T14:12:45Z
Releases: 11.0
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.

Files

PathChange+/−
src/test/ldap/t/001_auth.pl modified +11 −11