plugin-barman-cloud/internal/cnpgi
Armando Ruocco c62a20f43b
test: cover WAL restore object-store routing
Extract the restore_command object-store selection out of Restore into a
pure resolveRestoreObjectStore helper and add table-driven coverage for
the routing decision, including the designated-primary promotion case
(both switchover and failover) that previously had no regression test.

The refactor is behavior-preserving; it also makes the gocognit
suppression on Restore unnecessary, so it is dropped.

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2026-06-18 17:19:52 +02:00
..
common test: cover WAL restore object-store routing 2026-06-18 17:19:52 +02:00
instance fix(deps): update module sigs.k8s.io/controller-runtime to v0.24.0 (#880) 2026-05-06 10:15:29 +02:00
metadata chore(main): release 0.13.0 (#860) 2026-06-10 10:55:17 +02:00
operator fix(deps): update module sigs.k8s.io/controller-runtime to v0.24.0 (#880) 2026-05-06 10:15:29 +02:00
restore feat: pass additionalCommandArgs to barman-cloud-restore (#914) 2026-06-03 14:17:12 +02:00