Re: [HACKERS] A note about debugging TAP failures - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [HACKERS] A note about debugging TAP failures
Date
Msg-id CAB7nPqTttEoHXtGtmm202cWqhkLuaDKRdZX3UDbuFB62k_pz4w@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] A note about debugging TAP failures  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: [HACKERS] A note about debugging TAP failures  (Craig Ringer <craig.ringer@2ndquadrant.com>)
Re: [HACKERS] A note about debugging TAP failures  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Sun, Apr 23, 2017 at 7:48 AM, Daniel Gustafsson <daniel@yesql.se> wrote:
> Skipping the tempdir and instead using ${testname}_data_${name} without a
> random suffix, we can achieve this with something along the lines of the
> attached PoC.  It works as now (retain of failure, remove on success unless
> overridden) but that logic can easily be turned around if we want that.  If
> it’s of interest I can pursue this after some sleep (tomorrow has become today
> at this point).

Yes, something like that may make sense as well for readability.

Keeping folders in case of failures is something that I have been
advocating in favor of for some time, but this never got into the tree
:(

There is a patch from Horiguchi-san that allows actually such a thing,
have a look at patch 0006 on this email:
https://www.postgresql.org/message-id/CAMsr+YEc2Ek=qJFJ2JeV7Spz69pOduoUJXBowZMppVYdeieRdA@mail.gmail.com

The same concept rebased gives the attached. I didn't double-check the
compatibility with past versions of Test:More though..
--
Michael

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: [HACKERS] [COMMITTERS] pgsql: Replication lag tracking for walsenders
Next
From: Bruce Momjian
Date:
Subject: [HACKERS] Statistics "dependency"