pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Stephen Frost <sfrost@snowman.net>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Add TAP tests for pg_dump
Date: Sat, 7 May 2016 13:02:31 -0400
Message-ID: <b95a663c-7275-7ea6-fd29-0a858ba8eb49@2ndquadrant.com> (raw)
In-Reply-To: <20160507133606.GK10850@tamriel.snowman.net>
References: <E1ayk9T-0000Tq-2P@gemulon.postgresql.org>
	<d4e1d6c8-e1be-bd75-c613-afa9871399b7@2ndquadrant.com>
	<20160506191153.GW10850@tamriel.snowman.net>
	<6a8ad886-2610-b8fa-00f5-0c9c3264f79c@2ndquadrant.com>
	<20160507133606.GK10850@tamriel.snowman.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 5/7/16 9:36 AM, Stephen Frost wrote:
> Honestly, over the next couple of months between feature-freeze and
> release, I'd like to add even more tests, and not just to pg_dump but
> also to other commands that don't have very good testing today (psql, in
> particular, but pg_dumpall needs more also, and there's more to do with
> pg_dump too).

If we're going to do that, there will be no stopping it.  I also have a 
bunch of code in this area lined up, but I was hoping to submit it to 
the commit fest process at the right time and order to get feedback and 
testing.  If we're going to allow new tests being developed right up 
until release, I can just stop doing release preparation work right now 
and get back to coding and reviewing.

Ultimately, tests are code and should be treated as such.

> When it comes to packaging, if adding tests using the existing test
> infrastructure (the TAP system) causes a problem there, then I think we
> need to address that issue rather than not add new tests.  Packagers
> also always have the option to not enable the tap tests, if there really
> is an issue there which can't be addressed.

Well, that's like saying, if the feature I just committed the night 
before the release turns out to be problematic, you can just ifdef it 
out.  I don't think we want that, and I think it simplifies the way the 
world works.  Because new code interacts with old code, and then there 
will be even more new code which interacts with other code, and so it 
becomes harder and harder to isolate issues.  Yeah, if adding more tests 
causes instabilities because of issues not related to the tests 
themselves, we should fix that.  But that doesn't mean we should 
hand-wave past the fact that that potential exists.  That's software 
development.  If everything were perfect, we wouldn't need a beta period 
at all.

The configure flag to disable TAP tests isn't there so that we get 
license to play with them at random, it's because we wanted to make the 
software dependency optional.  The psql tests run under pg_regress, so 
they can't be made optional anyway.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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



view thread (30+ messages)  latest in thread

Message-ID: <b95a663c-7275-7ea6-fd29-0a858ba8eb49@2ndquadrant.com>
Permalink:  ../b95a663c-7275-7ea6-fd29-0a858ba8eb49@2ndquadrant.com/
Also on:    postgresql.org/message-id/b95a663c-7275-7ea6-fd29-0a858ba8eb49@2ndquadrant.com

 · 

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: peter.eisentraut@2ndquadrant.com, sfrost@snowman.net, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Add TAP tests for pg_dump
  In-Reply-To: <b95a663c-7275-7ea6-fd29-0a858ba8eb49@2ndquadrant.com>
  References: <E1ayk9T-0000Tq-2P@gemulon.postgresql.org> <d4e1d6c8-e1be-bd75-c613-afa9871399b7@2ndquadrant.com> <20160506191153.GW10850@tamriel.snowman.net> <6a8ad886-2610-b8fa-00f5-0c9c3264f79c@2ndquadrant.com> <20160507133606.GK10850@tamriel.snowman.net> <b95a663c-7275-7ea6-fd29-0a858ba8eb49@2ndquadrant.com>

* 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