Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azA1T-0000qY-7P for pgsql-hackers@arkaria.postgresql.org; Sat, 07 May 2016 21:44:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1azA1S-0006bb-Id for pgsql-hackers@arkaria.postgresql.org; Sat, 07 May 2016 21:44:26 +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 1azA1Q-0006a7-II for pgsql-hackers@postgresql.org; Sat, 07 May 2016 21:44:24 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azA1I-0000q1-UI for pgsql-hackers@postgresql.org; Sat, 07 May 2016 21:44:23 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 2F4BE5F7A4; Sat, 7 May 2016 17:44:16 -0400 (EDT) Date: Sat, 7 May 2016 17:44:16 -0400 From: Stephen Frost To: Peter Eisentraut Cc: pgsql-hackers@postgresql.org Subject: Re: [COMMITTERS] pgsql: Add TAP tests for pg_dump Message-ID: <20160507214416.GV10850@tamriel.snowman.net> References: <20160506191153.GW10850@tamriel.snowman.net> <6a8ad886-2610-b8fa-00f5-0c9c3264f79c@2ndquadrant.com> <20160507133606.GK10850@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Uuq/S8dtTuXhUr0i" Content-Disposition: inline In-Reply-To: X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-77-generic (x86_64) X-Uptime: 17:09:14 up 74 days, 18:02, 22 users, load average: 0.02, 0.04, 0.05 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -4.0 (----) 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 --Uuq/S8dtTuXhUr0i Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Peter, * Peter Eisentraut (peter.eisentraut@2ndquadrant.com) wrote: > 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). >=20 > 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. I do think that now is a good time for people to be reviewing what's been committed, which includes writing tests (either automated ones, which can be included in our test suite, or one-off's for testing specific things but which don't make sense to include). That doesn't mean we should be codeing or reviewing new features for commit. As for release prep, I certainly applaud everyone involved in that effort as we do have the beta release and back-branch releases coming up. Regarding when we should stop adding new tests, I can't agree with the notion that they should be treated as new features. New tests may break the buildfarm, but they do not impact the stability of committed code, nor do they introduce new bugs into the code which has been committed (if anything, they expose committed bugs, as the set of tests we're discussing did, which should then be fixed). > Ultimately, tests are code and should be treated as such. Perhaps in some manners this is accurate, but I'd view our test suite as an independent code base from PG. Bugs in the test suite might cause false test failures or other issues on the buildfarm or during packaging, but bugs or issues in the test suite won't cause data loss, data corruption, or generally impact running operations of our users. I can see some sense in holding off on adding more tests once we hit RC, as we want anything done with RC to be essentially identical to the release, unless there is a serious issue, but holding off on adding new tests which could expose issues in committed code for the months during beta doesn't seem sensible. As such, I'd certainly encourage you to propose new tests, even now, but not changes to the PG code, except for bug fixes, or changes agreed to by the RMT. How you prioritise that with the release preparation work is up to you, of course, though if I were in your shoes, I'd take care of the release prep first, as we're quite close to doing a set of releases. I'm happy to try and help with that effort myself, though I've not been involved very much in release prep and am not entirely sure what I can do to help. Thanks! Stephen --Uuq/S8dtTuXhUr0i Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJXLmGvAAoJEO1sijiDR2RVNKkQAJrGPFkESdTx0wE939UXsckb /5tjVH67qKURvIchMzcTpwGmeCXz7YLmxVsLzxc1jw+YO1YMQw3kGw//W0vXipJB eBDPg5ZBgfkX+KwMdJcaXGnhwmRzh/wF0WZbG5w0HA4cXv/Wcua4sfJvIlJb7g1Q W5zF93KAADhQGfnHQn0bGMH9RFzl10YFqaKD04Ag4K4LjKa+Eiv/w0Umq3NpZAjW 0NDg4HkzSBlIHWtQLLz8/S0A1eXRrtvGXBPqoLr2PzyZqRdvR8jIurDTSsgRuwFJ qUKCFbMNaXKPU1rktKhubbrKiZri/n0aQmVNvH8bpO8dCBShqFIjK8GNpaPG7r4m vHMRao09GxlQF1N3qRnUjngd3j7sAOGn9z5iW1rTBVMdmLxpDbPqGMIZYTTpk/PE gE3lbpodduAjRCw55PruI0XbGX1ozbNt2UlxZgm8shbpQRGa4zBoQi9LVwYmLFY5 FC4ehRwBhUmzYMOq79tCWS7K9esOEZBjJxWGx01fNyv3isLeuzcnCiwijJ550bgr Rwu0tTbA1CFjF+hr9vcT6c/8NrtTId1ZDwhJlcvW4m21WBmH3d/OYj5c5zQPgb6u jSQRXVKwKJN2rHSOFpvVVV0pk8EaSA4dHotnwAI/+j0VIiuBEX4bL4Cb2gOwxbxG EbsRlqE9JZkkbVs4rB47 =DTFl -----END PGP SIGNATURE----- --Uuq/S8dtTuXhUr0i--