Disable unstable test cases in src/test/ssl/t/001_ssltests.pl.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Jul 2022 01:57:32 +0000 (21:57 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Jul 2022 01:57:32 +0000 (21:57 -0400)
Missed one in 55828a6b6084724b08675615a4e911ad4d421cd1 :-(

Discussion: https://postgr.es/m/E1oCNLk-000LCH-Af@gemulon.postgresql.org

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

index 6ddc10596f019a863e05e247cb7fc9aae8782b72..fa26212de9ad825dad8f5c21da61e37e5353836e 100644 (file)
@@ -734,14 +734,17 @@ $common_connstr =
 $node->connect_ok(
    "$common_connstr sslmode=require sslcert=ssl/client+client_ca.crt",
    "intermediate client certificate is provided by client");
+
 $node->connect_fails(
    $common_connstr . " " . "sslmode=require sslcert=ssl/client.crt",
    "intermediate client certificate is missing",
    expected_stderr => qr/SSL error: tlsv1 alert unknown ca/,
-   log_like => [
-       qr{Client certificate verification failed at depth 0: unable to get local issuer certificate},
-       qr{Failed certificate data \(unverified\): subject "/CN=ssltestuser", serial number 2315134995201656576, issuer "/CN=Test CA for PostgreSQL SSL regression test client certs"},
-   ]);
+   # temporarily(?) skip this check due to timing issue
+#  log_like => [
+#      qr{Client certificate verification failed at depth 0: unable to get local issuer certificate},
+#      qr{Failed certificate data \(unverified\): subject "/CN=ssltestuser", serial number 2315134995201656576, issuer "/CN=Test CA for PostgreSQL SSL regression test client certs"},
+#  ]
+);
 
 $node->connect_fails(
    "$common_connstr sslmode=require sslcert=ssl/client-long.crt " . sslkey('client-long.key'),