pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Daniel Gustafsson <dgustafsson@postgresql.org>
Cc: pgsql-committers@lists.postgresql.org, Michael Paquier <michael@paquier.xyz>
Subject: Re: pgsql: Add function to pump IPC process until string match
Date: Tue, 29 Mar 2022 15:58:19 -0700
Message-ID: <20220329225819.ahk5u2tax3ez6d2t@alap3.anarazel.de> (raw)
In-Reply-To: <E1nMrkR-000Hoa-VF@gemulon.postgresql.org>
References: <E1nMrkR-000Hoa-VF@gemulon.postgresql.org>

Hi,

On 2022-02-23 13:32:03 +0000, Daniel Gustafsson wrote:
> Add function to pump IPC process until string match
> 
> Refactor the recovery tests to not carry a local duplicated copy of
> the pump_until function which pumps a process until a defined string
> is seen on a stream. This reduces duplication, and is in preparation
> for another patch which will also use this functionality.

I'm a bit disappointed by the moved function not having the diagnostic output
that at least the version in 013_crash_restart.pl had.  How is one supposed to
figure out what caused a timeout with the new central version? Given that
timeouts are the only way tests using pump_until() fail, that's not great.

Greetings,

Andres Freund





view thread (7+ messages)  latest in thread

Message-ID: <20220329225819.ahk5u2tax3ez6d2t@alap3.anarazel.de>
Permalink:  ../20220329225819.ahk5u2tax3ez6d2t@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20220329225819.ahk5u2tax3ez6d2t@alap3.anarazel.de

 · 

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: andres@anarazel.de, dgustafsson@postgresql.org, michael@paquier.xyz
  Subject: Re: pgsql: Add function to pump IPC process until string match
  In-Reply-To: <20220329225819.ahk5u2tax3ez6d2t@alap3.anarazel.de>
  References: <E1nMrkR-000Hoa-VF@gemulon.postgresql.org> <20220329225819.ahk5u2tax3ez6d2t@alap3.anarazel.de>

* 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