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

Cast timeout to integer. #184

Merged
merged 1 commit into from
Mar 19, 2019
Merged

Cast timeout to integer. #184

merged 1 commit into from
Mar 19, 2019

Conversation

smarlowucf
Copy link
Collaborator

  • Timeout will always have a default so no issue with casting None.
  • Print instance id as soon as possible in case of error.

Print instance id as soon as possible in case of error.
@@ -140,7 +140,7 @@ def __init__(
self.inject = self.ipa_config['inject']
self.instance_type = self.ipa_config['instance_type']
self.test_files = list(self.ipa_config['test_files'])
self.timeout = self.ipa_config['timeout']
self.timeout = int(self.ipa_config['timeout'])
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it possible for self.ipa_config['timeout'] to be None ?

Copy link
Collaborator Author

@smarlowucf smarlowucf Mar 18, 2019

Choose a reason for hiding this comment

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

@bear454 bear454 self-requested a review March 18, 2019 21:14
@rjschwei rjschwei merged commit 81bea08 into master Mar 19, 2019
@smarlowucf smarlowucf deleted the timeout-string branch March 19, 2019 13:28
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.

3 participants