Repository: cloudstack
Updated Branches:
  refs/heads/4.5 8d5ce97ed -> 7c951a2fa


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.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ddf6fd2f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ddf6fd2f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ddf6fd2f

Branch: refs/heads/4.5
Commit: ddf6fd2f9a8be35a4599bc9316cbcce8b85c8890
Parents: 8d5ce97
Author: Sheng Yang <sheng.y...@citrix.com>
Authored: Tue Sep 23 16:48:46 2014 -0700
Committer: SrikanteswaraRao Talluri <tall...@apache.org>
Committed: Fri Dec 5 19:51:04 2014 +0530

----------------------------------------------------------------------
 test/integration/component/maint/test_redundant_router.py | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ddf6fd2f/test/integration/component/maint/test_redundant_router.py
----------------------------------------------------------------------
diff --git a/test/integration/component/maint/test_redundant_router.py 
b/test/integration/component/maint/test_redundant_router.py
index 1b215c3..75c6122 100644
--- a/test/integration/component/maint/test_redundant_router.py
+++ b/test/integration/component/maint/test_redundant_router.py
@@ -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,

Reply via email to