CLOUDSTACK-3582: Add sleep so Netscaler recognizes the service to be up Signed-off-by: Prasanna Santhanam <t...@apache.org> (cherry picked from commit bd629a5bec3f33dd51d0e445d402ae7ce3ba3484)
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/dee2b983 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/dee2b983 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/dee2b983 Branch: refs/heads/4.2 Commit: dee2b983389000d30d2a926b9c755f51e9fa4b13 Parents: 2a388e6 Author: Sowmya Krishnan <sowmya.krish...@citrix.com> Authored: Wed Jul 17 11:09:25 2013 +0530 Committer: Prasanna Santhanam <t...@apache.org> Committed: Wed Jul 17 12:34:48 2013 +0530 ---------------------------------------------------------------------- test/integration/component/test_netscaler_lb.py | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/dee2b983/test/integration/component/test_netscaler_lb.py ---------------------------------------------------------------------- diff --git a/test/integration/component/test_netscaler_lb.py b/test/integration/component/test_netscaler_lb.py index 534ffb1..146b4c6 100644 --- a/test/integration/component/test_netscaler_lb.py +++ b/test/integration/component/test_netscaler_lb.py @@ -2571,6 +2571,8 @@ class TestVmWithLb(cloudstackTestCase): self.debug("Starting VM instance: %s" % self.vm_2.name) self.vm_2.start(self.apiclient) self.debug("Starting VM: %s" % self.vm_2.name) + self.debug("Sleeping for netscaler to recognize service is up") + time.sleep( 120 ) try: self.debug(