Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az5eA-0006rK-5g for pgsql-hackers@arkaria.postgresql.org; Sat, 07 May 2016 17:04:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1az5e8-0004N6-BP for pgsql-hackers@arkaria.postgresql.org; Sat, 07 May 2016 17:04:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1az5cn-0002tw-Cl for pgsql-hackers@postgresql.org; Sat, 07 May 2016 17:02:41 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1az5cj-0003HN-3D for pgsql-hackers@postgresql.org; Sat, 07 May 2016 17:02:40 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9577920225 for ; Sat, 7 May 2016 13:02:31 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Sat, 07 May 2016 13:02:31 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=SYNnr8AgjjcQ9/2 VHdWgAtZKP3M=; b=GthlswDy0+tva/Vwrl6n5Jr/z5jQXzeQA5w3TJKroYuz4w+ owPFmrSQZB93BHLQxLe64YAjb3EIwgsx8IbM4FMACknQoy+0EvPmIjlDrVbz/hX7 gqVM3y7LYuekqj5bndi3THQQgmGozD3XmEcSQTMANAJceB8OS+mt9pyImCOQ= X-Sasl-enc: zTTu6hwSFwnwi2RWBd7T4f8gxpk0lwuJkjjaAudvSClc 1462640551 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 5077F6800CC; Sat, 7 May 2016 13:02:31 -0400 (EDT) Subject: Re: [COMMITTERS] pgsql: Add TAP tests for pg_dump To: Stephen Frost References: <20160506191153.GW10850@tamriel.snowman.net> <6a8ad886-2610-b8fa-00f5-0c9c3264f79c@2ndquadrant.com> <20160507133606.GK10850@tamriel.snowman.net> Cc: pgsql-hackers@postgresql.org From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Sat, 7 May 2016 13:02:31 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <20160507133606.GK10850@tamriel.snowman.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 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