On Mon, Nov 9, 2026 at 11:45 AM Michael Paquier <[email protected]> wrote:
> Note also that I have changed the SQL function to use a integer for > the restart time, defaulting to -1 to map with the never-restart. > Passing down a restart time of 0 also makes the test faster, as the > worker is restarted without a delay. That's a clever trick. I did not pay much attention to making tests faster by shortening the interval like this before. I found two similar test cases for speedup(027_nosuperuser.pl and 033_run_as_table_owner.pl). With the patch of setting wal_retrieve_retry_interval to 100ms, the combined runtime decreased from roughly 11.56s to 8s in local runs without parallelism. -- Regards, Xuneng Zhou HighGo Software Co., Ltd.
0001-Speed-up-logical-replication-permission-tests.patch
Description: Binary data
