pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix potential rare failure in the kerberos TAP tests
Date: Wed, 07 Apr 2021 11:03:18 +0000
Message-ID: <E1lU5xu-0006lj-Qi@gemulon.postgresql.org> (raw)

Fix potential rare failure in the kerberos TAP tests

Instead of writing a query to psql's stdin, which can cause a failure
where psql exits before writing, reporting a write failure with a broken
pipe, this changes the logic to use -c.  This was not seen in the
buildfarm as no animals with a sensitive environment are running the
kerberos tests, but let's be safe.

HEAD is able to handle the situation as of 6d41dd0 for all the test
suites doing connection checks.  f44b9b6 has fixed the same problem for
the LDAP tests.

Discussion: https://postgr.es/m/YGu7ceWAiSNQDgH5@paquier.xyz
Backpatch-through: 11

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c2c9d6756deaea91c60de8043a742c391a9e3f30

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



view thread (3+ messages)  latest in thread

Message-ID: <E1lU5xu-0006lj-Qi@gemulon.postgresql.org>
Permalink:  ../E1lU5xu-0006lj-Qi@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lU5xu-0006lj-Qi@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Fix potential rare failure in the kerberos TAP tests
  In-Reply-To: <E1lU5xu-0006lj-Qi@gemulon.postgresql.org>
  References: <E1lU5xu-0006lj-Qi@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox