diff options
| author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-09-22 13:35:37 +0200 |
|---|---|---|
| committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-09-22 13:35:37 +0200 |
| commit | 33774978c78175095da9e6c276e8bcdb177725f8 (patch) | |
| tree | 3028f081c7a9eb58d8593e4f501fb55df4dc4a90 /contrib/btree_gist | |
| parent | 5f3aa309a880bb429c6a648d64e20fbd353fee8a (diff) | |
Avoid using internal test methods in SSL tests
The SSL tests for pg_ctl restart with an incorrect key passphrase used
the internal _update_pid method to set the pidfile after running pg_ctl
manually instead of using the supplied ->restart method. This refactors
the ->restart method to accept a fail_ok parameter like how ->start and
->stop does, and changes the SSL tests to use this instead. This removes
the need to call internal test module functions.
Reviewed-by: Melih Mutlu <m.melihmutlu@gmail.com>
Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Discussion: https://postgr.es/m/F81643C4-D7B8-4C6B-AF18-B73839966279@yesql.se
Diffstat (limited to 'contrib/btree_gist')
0 files changed, 0 insertions, 0 deletions
