pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: tests: Consistently use pg_basebackup -cfast --no-sync to accele
Date: Mon, 17 Jan 2022 23:48:02 +0000
Message-ID: <E1n9bjG-0006Tn-Mj@gemulon.postgresql.org> (raw)

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...

Discussion: https://postgr.es/m/20220117195711.xx4qbxutrrlmo2dg@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/839f9636b374d67952fdb2b048f055393bc5a8f4

Modified Files
--------------
src/bin/pg_basebackup/t/010_pg_basebackup.pl | 104 ++++++++++++++-------------
src/bin/pg_verifybackup/t/002_algorithm.pl   |   2 +-
src/bin/pg_verifybackup/t/003_corruption.pl  |   2 +-
src/bin/pg_verifybackup/t/004_options.pl     |   2 +-
src/bin/pg_verifybackup/t/006_encoding.pl    |   2 +-
src/bin/pg_verifybackup/t/007_wal.pl         |   4 +-
6 files changed, 61 insertions(+), 55 deletions(-)



view thread (3+ messages)  latest in thread

Message-ID: <E1n9bjG-0006Tn-Mj@gemulon.postgresql.org>
Permalink:  ../E1n9bjG-0006Tn-Mj@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1n9bjG-0006Tn-Mj@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: tests: Consistently use pg_basebackup -cfast --no-sync to accele
  In-Reply-To: <E1n9bjG-0006Tn-Mj@gemulon.postgresql.org>
  References: <E1n9bjG-0006Tn-Mj@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox