Re: [PATCH ha-manager v4 23/28] test: add automatic rebalancing system test cases with TOPSIS method

Dominik Rusovac
2026-04-02T13:29:27Z

lgtm, consider this

On Thu Apr 2, 2026 at 2:44 PM CEST, Daniel Kral wrote:
> These test cases are clones of the dynamic automatic rebalancing system
> test cases 0 through 4, which ensure that the same basic functionality
> is provided with the automatic rebalancing system using the TOPSIS
> method.
>
> The expected outputs are exactly the same, but for test case 3, which
> changes the second migration from
>
> vm:103 to node1 with an expected target imbalance of 0.40
>
> to
>
> vm:103 to node3 with an expected target imbalance of 0.43.
>
> Signed-off-by: Daniel Kral <d.kral@proxmox.com>
> ---
> changes v3 -> v4:
> - case 3 was changed to have an initial imbalance below 0.3 instead of
> an imbalance below 0.7 as before
> - case 4 was changed to have an imbalance below 0.3 instead of below 0.7
> to not trigger a rebalancing migration inbetween the transient spike
>

[snip]