rafaelweingartner commented on a change in pull request #2869: Fix some Marvin
smoke tests
URL: https://github.com/apache/cloudstack/pull/2869#discussion_r221917780
##########
File path: test/integration/smoke/test_hostha_kvm.py
##########
@@ -274,9 +274,12 @@ def test_hostha_enable_ha_when_host_in_maintenance(self):
Tests Enable HA when host is in Maintenance mode, should be
Ineligible
"""
self.logger.debug("Starting
test_hostha_enable_ha_when_host_in_maintenance")
-
+ self.logger.debug("Pausing to wait for VMs to have finished starting")
+ time.sleep(300)
Review comment:
@borisstoyanov indeed CloudStack does that. There is something we could use,
the host status. It will only go to maintenance mode when everything is
migrated out of the host. Also, if there is a problem and something is not
migrated, the host will go to `ErrorInMaitenance` mode.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services