Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpysw-0002QL-MC for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Mar 2017 15:06:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cpysw-0001VT-2T for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Mar 2017 15:06:14 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cpysu-0001UV-Om for pgsql-hackers@postgresql.org; Mon, 20 Mar 2017 15:06:12 +0000 Received: from tamriel.snowman.net ([72.66.115.51]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpyss-0004vm-6G for pgsql-hackers@postgresql.org; Mon, 20 Mar 2017 15:06:11 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id BA13C5F794; Mon, 20 Mar 2017 11:06:09 -0400 (EDT) Date: Mon, 20 Mar 2017 11:06:09 -0400 From: Stephen Frost To: Tom Lane Cc: Andres Freund , Robert Haas , pgsql-hackers Subject: Re: Re: [COMMITTERS] pgsql: Improve pg_dump regression tests and code coverage Message-ID: <20170320150609.GP9812@tamriel.snowman.net> References: <20170320123302.GF9812@tamriel.snowman.net> <20170320133046.GJ9812@tamriel.snowman.net> <20170320143515.GM9812@tamriel.snowman.net> <20170320144235.mxohhmxb6xz2vy4x@alap3.anarazel.de> <31823.1490021686@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="O6wM2EtTQY9ypRqO" Content-Disposition: inline In-Reply-To: <31823.1490021686@sss.pgh.pa.us> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-91-generic (x86_64) X-Uptime: 10:57:44 up 254 days, 16:22, 22 users, load average: 0.18, 0.19, 0.17 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org --O6wM2EtTQY9ypRqO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --O6wM2EtTQY9ypRqO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJYz+/hAAoJEO1sijiDR2RVfGIQAIjJ8nWcDCcELqGk5Megufq4 QM5H1saQuxkFIx4euY8UAsQJj2fiR+/cKZ5JM7hUYbHX0+59Y7dJe1cBilY4rnpp izox1KRfxqdgepNEJPvyMSB10xiNEUkl4oat4sko1DtawGbi6DIV9kjKnzXSI1QN 0h2PwaEYd1V7VxzcZIMaLuzpZc7UOD17SUWXv4B3M/WPH4TLYm+qpht6dzyNz9+w ItbhrHWFgkKdemrPTmrlBPmHbsfyOl8wW8+vndfCmFdVaKlWpQWwet7PKbfac5jj QQl8i0d8sfiFKG1tSqVycYChw6mCLNzJjOVvObuNLGm1UIG7hkY7GOoCNfqGLgOm veCRVuq7ThAwPTsgegwEJeEDMGAGLDiw6HNyYoE86nZNONWcrysRd3GpQlj0tQ4P 1cWjfsjJdjVEwHNaC9UX0drkcy+Lf36FOH7bwrOQGBDr7lC6mLV9KTPhAIcF1gTL 67xYJYKcbsPJMLEPe7bIKl9fFEbIU2dRPT91sfzMUVZ0w+MIF0cTk+vE23v7rAXE 1TPTet65c/qgwvp3kpVTZ96ULQkbr1p3NdpbrzD+test6z8jMPi8FZGzrjSgm24r MeLUrvZhKXEMu9XY4ZXsyX5mu8jiYwqzMMzZ7obk66o5sl7xsJCy1MotROZ+ci+t KYsw+RWWSkohfU8XzJNB =v/yv -----END PGP SIGNATURE----- --O6wM2EtTQY9ypRqO--