From: Stephen Frost <sfrost@snowman.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@anarazel.de>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Re: [COMMITTERS] pgsql: Improve pg_dump regression tests and code coverage
Date: Mon, 20 Mar 2017 11:06:09 -0400
Message-ID: <20170320150609.GP9812@tamriel.snowman.net> (raw)
In-Reply-To: <31823.1490021686@sss.pgh.pa.us>
References: <E1cpI0D-0007cL-2E@gemulon.postgresql.org>
<CA+Tgmoaih22-Y_X4L5eHs196M_3Q71iQnJ5QRD5edRBU0g6GbA@mail.gmail.com>
<20170320123302.GF9812@tamriel.snowman.net>
<CA+TgmobKDtUvNRfZV4EwByYG=zedWoN-zuwO6wjkkkLXsD2EAg@mail.gmail.com>
<20170320133046.GJ9812@tamriel.snowman.net>
<CA+TgmoYXT07F04W=9KMNR8uU_7btOEmeS0Are-PKipSS-YhrRA@mail.gmail.com>
<20170320143515.GM9812@tamriel.snowman.net>
<20170320144235.mxohhmxb6xz2vy4x@alap3.anarazel.de>
<31823.1490021686@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Tom,
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> New tests are not zero-cost; they create a distributed burden on the
> buildfarm and, by increasing the buildfarm cycle time, slow down feedback
> to authors of subsequent patches. So I'm very much not on board with
> any argument that "more tests are always better and don't even require
> discussion".
I agree with that and certainly considered it while working on these
added tests.
> I'd have liked to see this patch posted with some commentary along the
> lines of "this improves LOC coverage in pg_dump by X%, and for me it
> increases the time taken for 'make installcheck' in bin/pg_dump by Y%".
> Assuming Y isn't totally out of line with X, I doubt anyone would have
> objected or even bothered to review the patch in detail ... but it would
> have been polite to proceed that way.
About 8% increased LOC coverage for pg_dump.c (which isn't small when
you consider how large that file is). The additional time seemed to be
on the 5-6s range, moving the test from 35s to 40s or so.
> In short, I agree with Stephen's position that test additions can get
> away with less review than other sorts of changes, but I also agree with
> Robert's position that that doesn't mean there's no process to follow
> at all.
Fair enough.
Thanks!
Stephen
Attachments:
signature.asc (application/pgp-signature, 818B) download
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, tgl@sss.pgh.pa.us, andres@anarazel.de, robertmhaas@gmail.com, pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Improve pg_dump regression tests and code coverage
In-Reply-To: <20170320150609.GP9812@tamriel.snowman.net>
References: <E1cpI0D-0007cL-2E@gemulon.postgresql.org> <CA+Tgmoaih22-Y_X4L5eHs196M_3Q71iQnJ5QRD5edRBU0g6GbA@mail.gmail.com> <20170320123302.GF9812@tamriel.snowman.net> <CA+TgmobKDtUvNRfZV4EwByYG=zedWoN-zuwO6wjkkkLXsD2EAg@mail.gmail.com> <20170320133046.GJ9812@tamriel.snowman.net> <CA+TgmoYXT07F04W=9KMNR8uU_7btOEmeS0Are-PKipSS-YhrRA@mail.gmail.com> <20170320143515.GM9812@tamriel.snowman.net> <20170320144235.mxohhmxb6xz2vy4x@alap3.anarazel.de> <31823.1490021686@sss.pgh.pa.us> <20170320150609.GP9812@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