CLOUDSTACK-3582: Add sleep so Netscaler recognizes the service to be up Signed-off-by: Prasanna Santhanam <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2910f905 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2910f905 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2910f905 Branch: refs/heads/ldapplugin Commit: 2910f9058d6f0d16e7aa0ff65200473490f58e07 Parents: d73bb22 Author: Sowmya Krishnan <[email protected]> Authored: Wed Jul 17 11:09:25 2013 +0530 Committer: Prasanna Santhanam <[email protected]> Committed: Wed Jul 17 12:36:27 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/2910f905/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(
