Skip to content

Commit e993166

Browse files
committed
Disable unstable test cases in src/test/ssl/t/001_ssltests.pl.
Missed one in 55828a6 :-( Discussion: https://postgr.es/m/E1oCNLk-000LCH-Af@gemulon.postgresql.org
1 parent 55828a6 commit e993166

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/test/ssl/t/001_ssltests.pl

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -734,14 +734,17 @@ sub switch_server_cert
734734
$node->connect_ok(
735735
"$common_connstr sslmode=require sslcert=ssl/client+client_ca.crt",
736736
"intermediate client certificate is provided by client");
737+
737738
$node->connect_fails(
738739
$common_connstr . " " . "sslmode=require sslcert=ssl/client.crt",
739740
"intermediate client certificate is missing",
740741
expected_stderr => qr/SSL error: tlsv1 alert unknown ca/,
741-
log_like => [
742-
qr{Client certificate verification failed at depth 0: unable to get local issuer certificate},
743-
qr{Failed certificate data \(unverified\): subject "/CN=ssltestuser", serial number 2315134995201656576, issuer "/CN=Test CA for PostgreSQL SSL regression test client certs"},
744-
]);
742+
# temporarily(?) skip this check due to timing issue
743+
# log_like => [
744+
# qr{Client certificate verification failed at depth 0: unable to get local issuer certificate},
745+
# qr{Failed certificate data \(unverified\): subject "/CN=ssltestuser", serial number 2315134995201656576, issuer "/CN=Test CA for PostgreSQL SSL regression test client certs"},
746+
# ]
747+
);
745748

746749
$node->connect_fails(
747750
"$common_connstr sslmode=require sslcert=ssl/client-long.crt " . sslkey('client-long.key'),

0 commit comments

Comments
 (0)