Re: [PATCH] Speed up pg_waldump TAP test and fix some GitHub CI Windows flakiness

From: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Sehrope Sarkuni <sehrope(at)jackdb(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Speed up pg_waldump TAP test and fix some GitHub CI Windows flakiness
Date: 2026-09-01 13:05:44
Message-ID: CAN55FZ0avZS+UJvpqDaL=3B1B2QmZ72uPQ2ua7YJ+UjydneVkQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Tue, 1 Sept 2026 at 11:23, Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>
> As far as I remember my read of the patch yesterday, various --limit=1
> additions don't really matter because we do not care about checking
> dedicated output patterns: we just want to make a quick check that some
> command pattern works. If we only include these, how much time are we
> able to cut? I'd guess that it would still be a nice chunk, but I did
> not test.. And we could backpatch that as well.

Here is v2, which adds '--limit=1' to tests that check the command
pattern works. Commit message is updated accordingly.

- On my Linux computer, total time of 10 of 'pg_waldump/001_basic'
tests is reduced from 33s to 28s.

- On Windows CI it is reduced from 430s to 200s.

--
Regards,
Nazir Bilal Yavuz
Microsoft

Attachment Content-Type Size
v2-0001-Speed-up-pg_waldump-TAP-test.patch text/x-patch 2.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message William Bernbaum 2026-09-01 13:15:14 Price hashed aggregation for hash tables that exceed CPU cache capacity
Previous Message Xuneng Zhou 2026-09-01 12:52:11 Re: Deadlock detector fails to activate on a hot standby replica