CLOUDSTACK-7436: Fix automation test on RvR status detection

Everytime when checking the RvR status, you must wait some time for RvR to
update it's status. The polling thread would update the status only every 30
seconds by default.
This commit is contained in:
Sheng Yang 2014-09-23 16:48:46 -07:00
parent 093fa6f0a5
commit d2fbe5ccd3
1 changed files with 3 additions and 0 deletions

View File

@ -1574,6 +1574,9 @@ class TestRvRRedundancy(cloudstackTestCase):
"Vm should be in running state after deployment"
)
# wait for VR to update state
time.sleep(self.services["sleep"])
self.debug("Checking state of the backup router in %s" % self.network.name)
routers = Router.list(
self.apiclient,