pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix rare failure in LDAP tests.
Date: Mon, 03 Aug 2020 00:50:51 +0000
Message-ID: <E1k2Ogl-0003SY-A3@gemulon.postgresql.org> (raw)

Fix rare failure in LDAP tests.

Instead of writing a query to psql's stdin, use -c.  This avoids a
failure where psql exits before we write, seen a few times on the build
farm.  Thanks to Tom Lane for the suggestion.

Back-patch to 11, where the LDAP tests arrived.

Reviewed-by: Noah Misch <noah@leadboat.com>
Discussion: https://postgr.es/m/CA%2BhUKGLFmW%2BHQYPeKiwSp5sdFFHtFViCpw4Mh6yAgEx74r5-Cw%40mail.gmail.com

Branch
------
REL_13_STABLE

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

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



view thread (4+ messages)  latest in thread

Message-ID: <E1k2Ogl-0003SY-A3@gemulon.postgresql.org>
Permalink:  ../E1k2Ogl-0003SY-A3@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1k2Ogl-0003SY-A3@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: tmunro@postgresql.org
  Subject: Re: pgsql: Fix rare failure in LDAP tests.
  In-Reply-To: <E1k2Ogl-0003SY-A3@gemulon.postgresql.org>
  References: <E1k2Ogl-0003SY-A3@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