Re: RFC: adding pytest as a supported test framework

From: "Jelte Fennema-Nio" <postgres(at)jeltef(dot)nl>
To: "Aleksander Alekseev" <aleksander(at)tigerdata(dot)com>, "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Cc: "Andres Freund" <andres(at)anarazel(dot)de>, "Jacob Champion" <jacob(dot)champion(at)enterprisedb(dot)com>, "Robert Haas" <robertmhaas(at)gmail(dot)com>, "Daniel Gustafsson" <daniel(at)yesql(dot)se>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Peter Eisentraut" <peter(at)eisentraut(dot)org>, "Nazir Bilal Yavuz" <byavuz81(at)gmail(dot)com>
Subject: Re: RFC: adding pytest as a supported test framework
Date: 2026-03-01 22:16:38
Message-ID: DGRSKGSV9XXA.X9YK4O5DDO8W@jeltef.nl
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun Jan 25, 2026 at 1:54 PM CET, Jelte Fennema-Nio wrote:
>> I haven't looked at 0004 and 0005.
>
> Makes sense. I mostly kept those patches as part of the patchset to make
> sure I did not break Jacob's usecase with all my changes to the test
> suite. They were more meant as: "I did not touch these patches, nor are
> they ready to merge, but it's possible to do stuff like this too".

These patches caused CI to fail after the addition of the protocol
grease (4966bd3ed95). I fixed the tests (by forcing usage of 3.2), but I
attached them as nocfbot now, so that they can't be the reason that CI
fails again.

Attachment Content-Type Size
nocfbot-v12-0004-WIP-pytest-Add-some-SSL-client-tests.patch text/x-patch 22.6 KB
nocfbot-v12-0005-WIP-pytest-Add-some-server-side-SSL-tests.patch text/x-patch 8.5 KB
v12-0001-Add-support-for-pytest-test-suites.patch text/x-patch 27.8 KB
v12-0002-Add-pytest-infrastructure-to-interact-with-Postg.patch text/x-patch 73.7 KB
v12-0003-POC-Convert-load-balance-tests-from-perl-to-pyth.patch text/x-patch 17.3 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2026-03-01 22:32:12 Re: MERGE behavior with REPEATABLE READ isolation level
Previous Message Tom Lane 2026-03-01 21:12:22 Re: [BUG?] estimate_hash_bucket_stats uses wrong ndistinct for avgfreq