Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mU8V6-0000gb-QR for pgsql-hackers@arkaria.postgresql.org; Sat, 25 Sep 2021 14:18:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mU8V4-0000lI-7i for pgsql-hackers@arkaria.postgresql.org; Sat, 25 Sep 2021 14:17:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mU8V3-0000lA-Vv for pgsql-hackers@lists.postgresql.org; Sat, 25 Sep 2021 14:17:57 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mU8Uy-0005Cf-04 for pgsql-hackers@postgresql.org; Sat, 25 Sep 2021 14:17:57 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 18PEHlLv2502591; Sat, 25 Sep 2021 10:17:47 -0400 From: Tom Lane To: Mark Dilger cc: Noah Misch , PostgreSQL-development Subject: Re: Fixing WAL instability in various TAP tests In-reply-to: <2E9D28A3-1B54-446B-AC12-3BF86A2B522A@enterprisedb.com> References: <32A1FDD1-9C7B-43B1-B3EE-49198DD3F887@enterprisedb.com> <20210925052151.GA4082552@rfd.leadboat.com> <2E9D28A3-1B54-446B-AC12-3BF86A2B522A@enterprisedb.com> Comments: In-reply-to Mark Dilger message dated "Sat, 25 Sep 2021 07:12:08 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2502589.1632579467.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 25 Sep 2021 10:17:47 -0400 Message-ID: <2502590.1632579467@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Mark Dilger writes: >> On Sep 24, 2021, at 10:21 PM, Noah Misch wrote: >>> I would >>> expect tests which fail under legal alternate GUC settings to be harde= ned to >>> explicitly set the GUCs as they need, rather than implicitly relying o= n the >>> defaults. >> That is not the general practice in PostgreSQL tests today. The buildf= arm >> exercises some settings, so we keep the tests clean for those. Coping = with >> max_wal_size=3D2 that way sounds reasonable. I'm undecided about the v= alue of >> hardening tests against all possible settings. > Leaving the tests brittle wastes developer time. Trying to make them proof against all possible settings would waste a lot more time, though. regards, tom lane