From 4afce03416b402fc606ee227fdacd6ff9147ef58 Mon Sep 17 00:00:00 2001 From: Prabhakaran Thatchinamoorthy Date: Thu, 3 Mar 2016 15:31:29 -0600 Subject: [PATCH] INFRASYS-6837: Increased the wait time to 120 sec, so that the chances of EC2 getting terminated after ScaleDown is very very high --- License2Deploy/rolling_deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/License2Deploy/rolling_deploy.py b/License2Deploy/rolling_deploy.py index 83a005e..416e3e2 100644 --- a/License2Deploy/rolling_deploy.py +++ b/License2Deploy/rolling_deploy.py @@ -182,7 +182,7 @@ def lb_healthcheck(self, new_ids, attempt=0, wait_time=0): logging.info('ELB healthcheck OK') return True - def confirm_lb_has_only_new_instances(self, wait_time=60): + def confirm_lb_has_only_new_instances(self, wait_time=120): ''' Confirm that only new instances with the current build tag are in the load balancer ''' sleep(wait_time) # Allotting time for the instances to shut down instance_ids = self.conn_elb.describe_instance_health(self.load_balancer)