mirror of
https://github.com/postgres/postgres.git
synced 2026-03-22 10:30:21 -04:00
ssl: Skip passphrase reload tests in EXEC_BACKEND builds
SSL password command reloading must be enabled on Windows and in
EXEC_BACKEND builds due to them always reloading the context. The
new tests in commit 4f433025 skipped under Windows but missed the
EXEC_BACKEND check. Reported by buildfarm member culicidae.
Author: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CAOYmi+kXmCCgBWffzmSjaNhME5rD=gjyc_OP1FeWQTw2MmSNjg@mail.gmail.com
This commit is contained in:
parent
f91b8ff6af
commit
e87ab5049d
1 changed files with 7 additions and 3 deletions
|
|
@ -47,6 +47,9 @@ $ENV{PGHOST} = $node->host;
|
|||
$ENV{PGPORT} = $node->port;
|
||||
$node->start;
|
||||
|
||||
my $exec_backend = $node->safe_psql('postgres', 'SHOW debug_exec_backend');
|
||||
chomp($exec_backend);
|
||||
|
||||
$ssl_server->configure_test_server_for_ssl($node, $SERVERHOSTADDR,
|
||||
$SERVERHOSTCIDR, 'trust');
|
||||
|
||||
|
|
@ -320,9 +323,10 @@ unlike(
|
|||
|
||||
SKIP:
|
||||
{
|
||||
# Passphrase reloads must be enabled on Windows to succeed even without a
|
||||
# restart
|
||||
skip "Passphrase command reload required on Windows", 1 if ($windows_os);
|
||||
# Passphrase reloads must be enabled on Windows (and EXEC_BACKEND) to
|
||||
# succeed even without a restart
|
||||
skip "Passphrase command reload required on Windows and EXEC_BACKEND", 1
|
||||
if ($windows_os || $exec_backend =~ /on/);
|
||||
|
||||
$node->connect_ok(
|
||||
"$connstr sslrootcert=ssl/root+server_ca.crt sslmode=require host=localhost",
|
||||
|
|
|
|||
Loading…
Reference in a new issue