plugin-barman-cloud/internal/cnpgi/restore
Armando Ruocco bba751a17c test: cover the empty WAL archive decision in both hooks
Add unit coverage for the WAL archive and restore-job decision helpers.
The tables pin the version-skew contract: when the operator sets the
decision it overrides both the Cluster annotation and, for archiving, the
on-disk marker file, while a nil decision (an operator that predates the
field) reproduces the previous annotation-based behavior.

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
2026-07-21 17:15:16 +02:00
..
doc.go feat(ip): assign copyright to the Linux Foundation (#571) 2025-10-07 18:06:06 +02:00
identity.go feat(ip): assign copyright to the Linux Foundation (#571) 2025-10-07 18:06:06 +02:00
manager.go fix(restore): use custom CNPG group and version for scheme registration (#847) 2026-04-13 13:20:38 +02:00
restore_test.go test: cover the empty WAL archive decision in both hooks 2026-07-21 17:15:16 +02:00
restore.go refactor: extract the empty WAL archive decision into a helper 2026-07-21 17:07:00 +02:00
start.go feat(ip): assign copyright to the Linux Foundation (#571) 2025-10-07 18:06:06 +02:00
suite_test.go test: cover the empty WAL archive decision in both hooks 2026-07-21 17:15:16 +02:00