Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ri0AG-00EYOP-6a for pgsql-hackers@arkaria.postgresql.org; Wed, 06 Mar 2024 22:55:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1ri0AE-00FRnk-J3 for pgsql-hackers@arkaria.postgresql.org; Wed, 06 Mar 2024 22:55:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ri0AE-00FRnW-9t for pgsql-hackers@lists.postgresql.org; Wed, 06 Mar 2024 22:55:06 +0000 Received: from fhigh3-smtp.messagingengine.com ([103.168.172.154]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ri0AA-003DBN-Um for pgsql-hackers@lists.postgresql.org; Wed, 06 Mar 2024 22:55:05 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 67AD611400E4; Wed, 6 Mar 2024 17:55:03 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 06 Mar 2024 17:55:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1709765703; x=1709852103; bh=ej6Say9hBz ofRz6c5N3FqFSuk7XYcyHyi1Y43l5P3Mg=; b=FzPuslvHGaGShF5QGthdc6G0wV xrT98hgrWYmUtmsl24inK0dtWibhCp7OmRvPWgh+29bR9zZKsNk/ymMMwX7tNJ7P jP8IofI5bi9Hf6c7xV0vWMFheW5dzFq0GVFupYB7CXK4DNMCoAFIqVebr1Y4k5Ns 5eFw6IRPwW9AXkVBUa0XIaY9AkR5ylltA0F3As61B0fCRH7Zq+Iap+z5MrMhtVI6 QWCJHfSblX4ALBN3yiOny9vXEXgkDS0p4fHNFtCQ1x+NJTaFkL8Wa/7VNL/iqXPG I/BfmfPjDWPVq5graQAOgaKWg822SqGW7FbqCtqEB/v2GC6aJIL5YypxmbIg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1709765703; x=1709852103; bh=ej6Say9hBzofRz6c5N3FqFSuk7XY cyHyi1Y43l5P3Mg=; b=BJAfKvGuJTNwXPKcjwcVoRWdtbI6XI1PHqGOFrzb/cS7 ImihL34cJifXVg8I7v0WruY2TsrRL8tliQDe0j4lgOayWvOQzJQku5JfjKtHebVH TgpKdSNtXOwS/mHwfWdK3X/ot5KsA4ZtBRaEoLPKvq0mIz8IvaDecLihHAYw4RoN wNgNNUdrAIFLYQm+CXkmj2fmHzLKag8N2Qg+8K2xNkY8c0MmNMjKP/lDmF4qwNHr +YqrOCfY7LZY581VQkolTvUJqEBmvtYjl/ay3b8BLXUrkRJ018KBefb8BQ48VQaw UitG5KEag84e4JF8uuDnyxMICuW9JKgmuFO9C0yh5w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledriedvgddtfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeetleeifedufffhhfdtteelgeeg geffhfekueevteeigfduudevudetgfegiedvjeenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 6 Mar 2024 17:55:01 -0500 (EST) Date: Thu, 7 Mar 2024 07:54:51 +0900 From: Michael Paquier To: Jelte Fennema-Nio Cc: Bertrand Drouvot , "Andrey M. Borodin" , Postgres hackers , Ashutosh Bapat Subject: Re: Injection points: some tools to wait and wake Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TL2+O5Ku4AIzN6RK" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --TL2+O5Ku4AIzN6RK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 06, 2024 at 10:19:41AM +0100, Jelte Fennema-Nio wrote: > What I mainly meant is that anything in src/test/modules is not even > close to somewhat useful for other people to use. They are really just > very specific tests that need to be written in C. Afaict all those > modules are not even used by tests outside of their own module. But > these functions are helper functions, to be used by other tests. And > limiting the users of those helper functions to just be in-core > Postgres code seems a bit annoying. I feel like these functions are > more akin to the pgregress/isolationtester binaries in their usage, > than akin to other modules in src/test/modules. Perhaps. I think that we're still in the discovery phase for this stuff, and more people should get used to it first (this will take some time and everybody is busy with their own stuff for the last commit fest). At least it does not seem good to rush any decisions at this stage. >> FWIW, it would be really annoying to have documentation >> requirements, actually, because that increases maintenance and I'm not >> sure it's a good idea to add a module maintenance on top of what could >> require more facility in the module to implement a test for a bug fix. >=20 > Quite a few contrib modules have very limited documentation. I think > it would be fine for this as well. I'd argue that we should try to improve the existing documentation rather that use that as an argument to add more modules with limited documentation ;) > Ugh... Sorry... I didn't realize that it needed a dedicated configure > flag. When providing that flag it indeed installs the expected files. > I guess that rules out testing against PGDG packages, because those > packages almost certainly wouldn't specify this flag. The CI enables the switch, and I've updated all my buildfarm members to use it. In terms of coverage, that's already quite good. -- Michael --TL2+O5Ku4AIzN6RK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmXo9DsACgkQnvQgOdby QH2pNQ//SZNRSLgKfxraytEuuFuB7mJ0UK6CUGHniI/NRt655BMsn7NMesNXB2a7 sRhwmCAlfg5tMS27SoDqgX+4fKi3ui1b/WzkXzpk6tsAdx+W1N9sg1bLMsG5Li12 iF3aVfhEkKIB0YsblAEXV7qzIn+o4OUZ/dUjv5UNO+f5wviQjwTWUCjR7Kp1Y9l+ YhZC/mcWtxWGOKqjaGZUAhBPekULBnT8WrbYOdl7ttz1YX+hEvk4rObR5yDQHJbC x5P/UmJ704HKFgswIlj+SGN2YEC1d2wPd0BiCF8eH9ubcIl8vwLUcqv5M+WwbVyS LoHk9sB4SEGy1w/KK+YWblCBFtWkPnqYGPboyhV3p4sC7IN6SrqxweeDSbkBE1+v AIr6Iv8dqMrCdEqh8YnECmKmG5xbIdTfB8MhYEcy4kqtEXo+ajhDN5/uY3AFB+Tz IRRSYozLaqBLMapP7GJSQDWA3C9NVakT8m8/aATzwHXCrzdGvxZ1OLzoSiOUEu+c 29O9sPOlU/u6RYjffCbD0x0bghNFMJd4hOzTm9gsmnT+6QApkihLqXtzOOtUelvI jlYWBpCiPyQStUbPb2KVLhJSxFUIfe4qP85zXr+pclS8hL6G4J/3SElo38uot1vH PsjKksiaBEQU7EkwhG7+vSwwWrU4g4iI01Z7bMjphwm09yZt8Ew= =IQfj -----END PGP SIGNATURE----- --TL2+O5Ku4AIzN6RK--