Increase retry timeout to obtain multi_ip_test_fixture.vms_detailed_info

Test test_z99_reboot_controller_galera_main_vip creates a set of 10 VMs.
While the creation is in progress, the test reboots some controller
nodes. Then, it waits until all VMs are created. It uses a timeout
because sometimes not all the VMs reach the ACTIVE status due to the
controller rebooted.
The timeout value of 4 minutes seems to be not enough in some cases.
This patch increases that value to 5 minutes.

Change-Id: I40fa9798f71d82047237e914373016122f54a392
This commit is contained in:
Eduardo Olivares 2023-11-29 15:33:09 +01:00
parent 9bc3c0a650
commit 1833f3e2fc

View File

@ -369,7 +369,7 @@ def disrupt_controller_galera_main_vip(disrupt_method=sh.soft_reset_method):
def get_vms_detailed_info(multi_ip_test_fixture): def get_vms_detailed_info(multi_ip_test_fixture):
for attempt in tobiko.retry(timeout=240, interval=10): for attempt in tobiko.retry(timeout=300, interval=10):
# dynamically obtain the status of the VMs # dynamically obtain the status of the VMs
vms_detailed_info = multi_ip_test_fixture.vms_detailed_info vms_detailed_info = multi_ip_test_fixture.vms_detailed_info