tests: Consistently use pg_basebackup -cfast --no-sync to accelerate tests.
Andres Freund <andres@anarazel.de>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_basebackup/t/010_pg_basebackup.pl | modified | +55 −49 |
| src/bin/pg_verifybackup/t/002_algorithm.pl | modified | +1 −1 |
| src/bin/pg_verifybackup/t/003_corruption.pl | modified | +1 −1 |
| src/bin/pg_verifybackup/t/004_options.pl | modified | +1 −1 |
| src/bin/pg_verifybackup/t/006_encoding.pl | modified | +1 −1 |
| src/bin/pg_verifybackup/t/007_wal.pl | modified | +2 −2 |
Discussion
- slowest tap tests - split or accelerate? 32 messages · 2021-12-31 → 2023-12-08