Skip to content

Commit 3abf1fc

Browse files
author
Paul Angus
committed
Add a pause to avoid tests restarting before VRs recovering from HA have fully booted..
1 parent 08f94be commit 3abf1fc

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

test/integration/smoke/test_hostha_kvm.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,12 @@ def test_hostha_enable_ha_when_host_in_maintenance(self):
274274
Tests Enable HA when host is in Maintenance mode, should be Ineligible
275275
"""
276276
self.logger.debug("Starting test_hostha_enable_ha_when_host_in_maintenance")
277-
277+
self.logger.debug("Pausing to wait for VMs to have finished starting")
278+
time.sleep(300)
279+
278280
# Enable HA
279281
self.configureAndEnableHostHa()
282+
280283

281284
# Prepare for maintenance Host
282285
self.setHostToMaintanance(self.host.id)

0 commit comments

Comments
 (0)