pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Add TAP tests for pg_dump
Date: Sat, 7 May 2016 09:36:06 -0400
Message-ID: <20160507133606.GK10850@tamriel.snowman.net> (raw)
In-Reply-To: <6a8ad886-2610-b8fa-00f5-0c9c3264f79c@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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

* Peter Eisentraut (peter.eisentraut@2ndquadrant.com) wrote:
> On 5/6/16 3:11 PM, Stephen Frost wrote:
> >These are just new tests..?
> 
> This is a matter of degree, but I think there is a difference
> between new test cases and a whole new test suite.

To be clear, I've been calling it a 'test suite' because there ended up
being over 1000 tests added, but it's all using the exinsting
infrastructure of the TAP testing system, just as we have for other
commands (pg_ctl, initdb, etc).

> >I assumed that would be welcome during post
> >feature-freeze, and certainly no one raised any concerns about adding
> >these tests during the discussion prior to my commiting them.
> 
> I didn't see that discussion and I still can't find it.

The new tests were discussed on the thread related to the changes to
pg_dump.  The first patch, which included just 300 or so tests, was
here:

http://www.postgresql.org/message-id/20160425043909.GW10850@tamriel.snowman.net

There was a bit of back-and-forth on that thread and new patches were
posted there, as well as indication that I was planning to push them a
couple days before I did.

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).

I certainly understand the concern raised about making the buildfarm go
red right before a release, though I believe that's now been dealt with.
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.

Thanks!

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (30+ messages)  latest in thread

Message-ID: <20160507133606.GK10850@tamriel.snowman.net>
Permalink:  ../20160507133606.GK10850@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20160507133606.GK10850@tamriel.snowman.net

 · 

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: sfrost@snowman.net, peter.eisentraut@2ndquadrant.com, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Add TAP tests for pg_dump
  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>

* 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