Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(13.6.0) INFRASYS-7453: added wait tries and delays for checking old instances… #34

Merged
merged 1 commit into from
Jul 11, 2016
Merged

Conversation

nz285
Copy link
Contributor

@nz285 nz285 commented Jul 8, 2016

… termination

@coveralls
Copy link

coveralls commented Jul 8, 2016

Coverage Status

Coverage decreased (-0.7%) to 96.617% when pulling 6b1a45b on nz285:INFRASYS-7453 into e758d67 on dandb:master.

@coveralls
Copy link

coveralls commented Jul 11, 2016

Coverage Status

Coverage decreased (-0.7%) to 96.629% when pulling 3e4e76a on nz285:INFRASYS-7453 into e758d67 on dandb:master.

self.wait_for_new_instances(new_instance_ids, self.ready_wait[0], self.ready_wait[1]) #Wait for new instances to be up and ready

# step 3: waiting for instance health check to be completed
try:
logging.info("Trying for maximum 5 minutes to health-check all instances.")
logging.info("Trying for maximum {0} minutes to health-check all instances.".format(self.health_wait[0] * self.health_wait[1] / 60))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you do this math several times. Maybe you can create a method that accepts a list that returns the output of this logic.

@sbraverman
Copy link
Contributor

Added a suggestion. Otherwise, +1

@coveralls
Copy link

coveralls commented Jul 11, 2016

Coverage Status

Coverage decreased (-0.7%) to 96.654% when pulling e1ca359 on nz285:INFRASYS-7453 into e758d67 on dandb:master.

@taoistmath
Copy link
Contributor

+1

@nz285 nz285 merged commit c71b3bd into dandb:master Jul 11, 2016
@sbraverman sbraverman changed the title INFRASYS-7453: added wait tries and delays for checking old instances… (13.6.0) INFRASYS-7453: added wait tries and delays for checking old instances… Jul 11, 2016
@nz285 nz285 deleted the INFRASYS-7453 branch July 12, 2016 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants