Re: [PATCH ha-manager v3 36/40] test: add resource bundle generation test cases

Dominik Rusovac
2026-03-31T09:09:18Z

lgtm, consider this

On Mon Mar 30, 2026 at 4:30 PM CEST, Daniel Kral wrote:
> These test cases document which resource bundles count as active and
> stationary and ensure that get_active_stationary_resource_bundles(...)
> does produce the correct active, stationary resource bundles.
>
> This is especially important, because these resource bundles are used
> for the load balancing candidate generation, which is passed to
> score_best_balancing_migration_candidates($candidates, ...). The
> PVE::HA::Usage::{Static,Dynamic} implementation validates these
> candidates and fails with an user-visible error message.
>
> Signed-off-by: Daniel Kral <d.kral@proxmox.com>
> ---
> changes v2 -> v3:
> - none
>

[snip]