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 1ng6L7-0007U0-PD for pgsql-hackers@arkaria.postgresql.org; Sun, 17 Apr 2022 14:57:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ng6K8-0005LU-BF for pgsql-hackers@arkaria.postgresql.org; Sun, 17 Apr 2022 14:56:24 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ng6K8-0005Kz-1c for pgsql-hackers@lists.postgresql.org; Sun, 17 Apr 2022 14:56:24 +0000 Received: from relay6-d.mail.gandi.net ([2001:4b98:dc4:8::226]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ng6K1-00031S-1i for pgsql-hackers@lists.postgresql.org; Sun, 17 Apr 2022 14:56:22 +0000 Received: (Authenticated sender: adsend@dunslane.net) by mail.gandi.net (Postfix) with ESMTPSA id 78657C0004; Sun, 17 Apr 2022 14:56:10 +0000 (UTC) Message-ID: <0ec8e505-75ee-3426-78d9-9fd201c86f89@dunslane.net> Date: Sun, 17 Apr 2022 10:56:08 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: pgsql: Add TAP test for archive_cleanup_command and recovery_end_comman Content-Language: en-US To: Michael Paquier , Thomas Munro Cc: Andres Freund , Tom Lane , PostgreSQL Hackers References: <3385143.1649353230@sss.pgh.pa.us> <20220407175210.q44nnrvkovprxo2a@alap3.anarazel.de> <3386734.1649354265@sss.pgh.pa.us> <20220407181202.7xa573u6e2z5dbdz@alap3.anarazel.de> <4015413.1649454951@sss.pgh.pa.us> <20220409005910.alw46xqmmgny2sgr@alap3.anarazel.de> From: Andrew Dunstan In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022-04-17 Su 00:17, Michael Paquier wrote: >> Since it's quite painful to run TAP tests under valgrind, I found a >> place to stick a plain old sleep to repro these problems: > Actually, I am wondering how you are patching Cluster.pm to do that. I don't really think it's Cluster.pm's business to deal with that. It takes an install path as given either explicitly or implicitly. It shouldn't be too hard to get Makefile.global to install valgrind wrappers into the tmp_install/bin directory. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com