cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yas...@apache.org
Subject git commit: updated refs/heads/master to d2fbe5c
Date Tue, 23 Sep 2014 23:50:46 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 093fa6f0a -> d2fbe5ccd


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/d2fbe5cc
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d2fbe5cc
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d2fbe5cc

Branch: refs/heads/master
Commit: d2fbe5ccd3f521eb25f5c8d5d849e3dc0557dc6e
Parents: 093fa6f
Author: Sheng Yang <sheng.yang@citrix.com>
Authored: Tue Sep 23 16:48:46 2014 -0700
Committer: Sheng Yang <sheng.yang@citrix.com>
Committed: Tue Sep 23 16:50:04 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d2fbe5cc/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,


Mime
View raw message