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

From Andres Freund
Subject Re: [HACKERS] A note about debugging TAP failures
Date
Msg-id 20170422213509.rujmkxhrwwecsoop@alap3.anarazel.de
Whole thread Raw
In response to Re: [HACKERS] A note about debugging TAP failures  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2017-04-22 17:25:49 -0400, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > On 2017-04-22 16:22:59 -0400, Tom Lane wrote:
> >> In the particular case I was interested in here, the test script thought
> >> everything was successful :-(.  I'm working on fixing that little problem,
> >> but I do not believe that the TAP scripts are so bulletproof that there
> >> will never be a need to override their judgment.
> 
> > Agreed.  If paths are reproducible and cleaned up on next run it's also
> > much less of an issue to just leave them around till the next run.
> > Which we imo also should do for non-failing tmp_check directories.
> 
> Mm, not convinced.  I think that the delete-on-success behavior was
> intentional, to limit the amount of disk space a buildfarm member would
> consume during a run.  I don't mind that being the default, as long as
> there's a way to override it manually.

I don't think there is, currently?  I've so far resorted to just adding
some random "foobar" to one of the input files..., or just using
installcheck.

- Andres



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] A note about debugging TAP failures
Next
From: Daniel Gustafsson
Date:
Subject: Re: [HACKERS] A note about debugging TAP failures