Re: Testing autovacuum wraparound (including failsafe) - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Testing autovacuum wraparound (including failsafe)
Date
Msg-id FBE72C6F-E64C-46D0-ABCC-14E3303EFD7A@yesql.se
Whole thread Raw
In response to Re: Testing autovacuum wraparound (including failsafe)  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
> On 22 Aug 2023, at 07:49, Michael Paquier <michael@paquier.xyz> wrote:
>
> On Wed, Jul 12, 2023 at 01:47:51PM +0200, Daniel Gustafsson wrote:
>> +# bump the query timeout to avoid false negatives on slow test syetems.
>> +$ENV{PG_TEST_TIMEOUT_DEFAULT} = 600;
>> Does this actually work?  Utils.pm read the environment variable at compile
>> time in the BEGIN block so this setting won't be seen?  A quick testprogram
>> seems to confirm this but I might be missing something.
>
> I wish that this test were cheaper, without a need to depend on
> PG_TEST_EXTRA..  Actually, note that you are forgetting to update the
> documentation of PG_TEST_EXTRA with this new value of xid_wraparound.

Agreed, it would be nice, but I don't see any way to achieve that.  I still
think the test is worthwhile to add, once the upthread mentioned issues are
resolved.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Richard Guo
Date:
Subject: Re: Support run-time partition pruning for hash join
Next
From: Anthony Roberts
Date:
Subject: Re: [PATCH] Add native windows on arm64 support