tests: Consistently use pg_basebackup -cfast --no-sync to accelerate tests.
authorAndres Freund <andres@anarazel.de>
Mon, 17 Jan 2022 23:40:00 +0000 (15:40 -0800)
committerAndres Freund <andres@anarazel.de>
Mon, 17 Jan 2022 23:43:35 +0000 (15:43 -0800)
commit839f9636b374d67952fdb2b048f055393bc5a8f4
tree64b64267694d8ed7d22726ef93560acc8ce50a16
parentc702d656a28386cf5f642206b495c66775afc4ea
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
src/bin/pg_basebackup/t/010_pg_basebackup.pl
src/bin/pg_verifybackup/t/002_algorithm.pl
src/bin/pg_verifybackup/t/003_corruption.pl
src/bin/pg_verifybackup/t/004_options.pl
src/bin/pg_verifybackup/t/006_encoding.pl
src/bin/pg_verifybackup/t/007_wal.pl