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

Ensure to exit with a non-zero status code when a timeout and all jobs are not completed. #2901

Merged

Conversation

deckarep
Copy link
Contributor

@deckarep deckarep commented Apr 13, 2017

  • Introduces a simple if check branch during the select on the timeout chan.
  • Increments local var badExit so when the the break to the OUTER loop occurs a non-zero exit is emitted.

Closes #2757

@deckarep deckarep changed the title Ensure to exit with a non-zero status code when a timeout occurs and … Ensure to exit with a non-zero status code when a timeout and all jobs are not completed. Apr 13, 2017
@slackpad slackpad merged commit 9aa232e into hashicorp:master May 18, 2017
@slackpad
Copy link
Contributor

Thanks!

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.

None yet

2 participants