You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
t/m/test_host_evacuate.py: Support pool of more than 2 hosts
This test only worked with pool contains 2 hosts, since the
destination host is known before using host_evacuate (as there is no
other option).
When running with more hosts in pool, the dest host will be selected
dynamically, there is no options to force the destination host. So on
3 hosts pool there are 50% chances the desired one will be used.
The test is now waiting the VM to be running and then checking that
the destination host is different than the source one.
The VDI check is also preserved but may be unnecessary since all hosts
in pool are expected to have references to VDIs.
There is no need to set the destination host in parameter anymore, but
second host still appear as a requirement (since pool should at least
contain 2 pools to use the evacuate feature).
Signed-off-by: Philippe Coval <philippe.coval@vates.tech>
0 commit comments