From d0971ce80609ba7ab9cb3736a12852e0098d042a Mon Sep 17 00:00:00 2001 From: Sowmya Krishnan Date: Tue, 23 Jul 2013 22:29:10 +0530 Subject: [PATCH] Add wait while Netscaler recognizes service to be up Signed-off-by: Prasanna Santhanam (cherry picked from commit a7df12edbf83106d26198db20e96ee991912c097) --- test/integration/component/test_netscaler_lb.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/integration/component/test_netscaler_lb.py b/test/integration/component/test_netscaler_lb.py index 4253adadf22..3942f943b64 100644 --- a/test/integration/component/test_netscaler_lb.py +++ b/test/integration/component/test_netscaler_lb.py @@ -2756,6 +2756,8 @@ class TestVmWithLb(cloudstackTestCase): self.debug("Rebooting VM instance: %s" % self.vm_2.name) self.vm_2.reboot(self.apiclient) self.debug("Rebooting VM: %s" % self.vm_2.name) + self.debug("Waiting for Netscaler to get the service up") + time.sleep( 120 ) try: self.debug(