Re: Python/pytest test framework take two

From: Nikolay Samokhvalov <nik(at)postgres(dot)ai>
To: Jelte Fennema-Nio <me(at)jeltef(dot)nl>
Cc: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Python/pytest test framework take two
Date: 2026-11-04 14:51:18
Message-ID: CAM527d8LB0N=cwdFHj8Uc-_8rsxPJM1OkTdBioP-05zJxHaqWw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 29 Oct 2026 at 19:03:52 +0000, Nikolay Samokhvalov
<nik(at)postgres(dot)ai> wrote:
> Apply order: the timeout patch, then the snapshot patch, to v2 (1d2adb67c551).
> On macOS arm64, all 22 new cases, core regression and isolation pass.
> The known Python 3.9 timestamp failures and optional-feature skips remain.
> Reproduction steps, exact revisions and detailed results are in [1].
>
> [1] https://github.com/NikolayS/postgres/blob/d972a089cf7b640ee235489c71daac100d9f4bad/review/pytest-followup/README.md

I made cfbot pick my two follow-up patches instead of Jelte's v2 series.
Those two patches need v2 as a base. Sorry about that.

I have attached Jelte's original v2-0001 through v2-0012 files unchanged,
plus my same two follow-ups with a nocfbot- prefix. The latter are for
review against v2; cfbot should select only Jelte's series.

Nik

Attachment Content-Type Size
nocfbot-followup-test-pytest-portal-snapshot.patch application/x-patch 3.3 KB
nocfbot-followup-fix-pytest-future-timeout.patch application/x-patch 9.3 KB
v2-0010-POC-recovery-port-TAP-test-029_stats_restart-to-p.patch application/x-patch 22.9 KB
v2-0009-POC-test_aio-port-TAP-test-001_aio-to-pytest.patch application/x-patch 106.4 KB
v2-0011-POC-recovery-port-TAP-test-031_recovery_conflict-.patch application/x-patch 25.4 KB
v2-0012-POC-subscription-port-TAP-test-031_column_list-to.patch application/x-patch 83.5 KB
v2-0008-POC-recovery-port-TAP-test-049_wait_for_lsn-to-py.patch application/x-patch 99.3 KB
v2-0007-POC-test_json_parser-port-TAP-test-002_inline-to-.patch application/x-patch 13.7 KB
v2-0006-POC-amcheck-port-TAP-test-001_verify_heapam-to-py.patch application/x-patch 17.4 KB
v2-0003-ci-temporarily-install-a-32-bit-Python-in-the-32-.patch application/x-patch 3.0 KB
v2-0005-Add-pytest-infrastructure-to-interact-with-Postgr.patch application/x-patch 175.3 KB
v2-0004-Add-support-for-pytest-test-suites.patch application/x-patch 34.6 KB
v2-0002-meson-Deduplicate-test-timeout-into-a-variable.patch application/x-patch 2.5 KB
v2-0001-ci-show-more-than-100-lines-of-a-failing-test-s-l.patch application/x-patch 1.6 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Phil Alger 2026-11-04 14:57:07 Re: Print latency percentiles in pgbench
Previous Message shihao zhong 2026-11-04 14:40:50 Re: Fix ReadStream handling when heap rescan strategy changes