pgsql: Hack back-branch SSL tests to avoid intermittent buildfarm failu

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Hack back-branch SSL tests to avoid intermittent buildfarm failu
Date: 2019-03-19 20:58:27
Message-ID: E1h6LoZ-0002TF-I0@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Hack back-branch SSL tests to avoid intermittent buildfarm failures.

Buildfarm member eelpout sometimes reports the wrong error message for
an SSL connection failure. In HEAD, this problem is believed to be
solved by commit 1f39a1c06, but I'm as yet unwilling to back-patch that.
The problem seems fairly unlikely to be an issue in the field, since (as
far as we can tell) it happens only during a failure of a local-loopback
SSL connection, and it's improbable even then. It seems better to just
live with it for the time being; but let's tweak the regression test to
accept the other error message as a "pass".

Needed in v11 only, since older branches didn't check the message
text anyway.

Discussion: https://postgr.es/m/CAEepm=2n6Nv+5tFfe8YnkUm1fXgvxR0Mm1FoD+QKG-vLNGLyKg@mail.gmail.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/08cf04bb4747269dde46b45346b7f38653013002

Modified Files
--------------
src/test/ssl/t/001_ssltests.pl | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2019-03-19 23:39:25 Re: pgsql: Revise parse tree representation for VACUUM and ANALYZE.
Previous Message Tom Lane 2019-03-19 20:20:40 pgsql: Restructure libpq's handling of send failures.