Re: pgsql: tests: Consistently use pg_basebackup -cfast --no-sync to accele - Mailing list pgsql-committers

From Michael Paquier
Subject Re: pgsql: tests: Consistently use pg_basebackup -cfast --no-sync to accele
Date
Msg-id YeYVbHXaNfW9kavH@paquier.xyz
Whole thread Raw
In response to pgsql: tests: Consistently use pg_basebackup -cfast --no-sync to accele  (Andres Freund <andres@anarazel.de>)
Responses Re: pgsql: tests: Consistently use pg_basebackup -cfast --no-sync to accele  (Andres Freund <andres@anarazel.de>)
List pgsql-committers
Hi Andres,

On Mon, Jan 17, 2022 at 11:48:02PM +0000, Andres Freund wrote:
> tests: Consistently use pg_basebackup -cfast --no-sync to accelerate tests.
>
> Most tests invoking pg_basebackup themselves did not yet use -cfast, which
> makes pg_basebackup take considerably longer. The only reason this didn't
> cause the tests to take many minutes is that spread checkpoints only throttle
> when writing out a buffer and there aren't that many dirty buffers in the
> tests...

Are you planning to back-patch any of this?  It seems to me that it
would not hurt, and making the tests faster on back-branches saves
time when working on those branches.

Thanks,
--
Michael

Attachment

pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: tests: Consistently use pg_basebackup -cfast --no-sync to accele
Next
From: Andres Freund
Date:
Subject: Re: pgsql: tests: Consistently use pg_basebackup -cfast --no-sync to accele