Skip to content

Commit

Permalink
INFRASYS-6837: Increased the wait time to 120 sec, so that the chance…
Browse files Browse the repository at this point in the history
…s of EC2 getting terminated after ScaleDown is very very high
  • Loading branch information
Prabhakaran Thatchinamoorthy committed Mar 3, 2016
1 parent 950a63d commit 4afce03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion License2Deploy/rolling_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4afce03

Please sign in to comment.