1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00
pgbackrest/test
David Steele 28f660482a Move manifestBackupLabelSet() test in info/manifest unit.
Changing the label of a manifest that already had a label was not a good test and it ended up masking a bug where the current backup label was not being added to the reference list on manifest load, since manifestBackupLabelSet() added the label to the reference list. In fact, manifestBackupLabelSet() should never be called after a manifest load or even after the label has been set.

Add an assertion to prevent manifestBackupLabelSet() being called when the label is already set.

The bug exposed here will be fixed in a subsequent commit.
2022-11-26 10:48:02 +08:00
..
certificate Add TLS Server. 2021-10-18 14:32:41 -04:00
code-count v2.41: Backup Annotations 2022-09-19 10:08:10 -07:00
data Automate generation of WAL and pg_control test files. 2017-11-18 20:02:54 -05:00
lib/pgBackRestTest Update test.pl --psql-bin option to match command-line help. 2022-11-14 12:47:27 +08:00
src Move manifestBackupLabelSet() test in info/manifest unit. 2022-11-26 10:48:02 +08:00
.gitignore Move coverage results to test/result. 2020-03-14 15:29:42 -04:00
ci.pl Add experimental Meson build. 2022-06-03 14:13:56 -04:00
container.yaml Finalize catalog number for PostgreSQL 15 release. 2022-10-16 09:58:35 +13:00
define.yaml Pass filters to remote storage as a handler array. 2022-10-18 16:11:35 +13:00
Dockerfile Test Dockerfile improvements. 2022-07-21 19:27:58 -04:00
test.pl Update test.pl --psql-bin option to match command-line help. 2022-11-14 12:47:27 +08:00
Vagrantfile Update CI to use Ubuntu 22.04 and Fedora 36. 2022-06-06 16:32:20 -04:00