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

Buffer errors until the end of an action #1034

Merged
merged 2 commits into from
May 25, 2016

Conversation

smurawski
Copy link
Contributor

Updates the behavior where an earlier failure would block later instances. With this PR, all the errors for the action are buffered until the end of the action for all instances. If there were any errors, they are reported (one in the console - the rest in the log).

@mwrock
Copy link
Member

mwrock commented May 21, 2016

👍 I just tested this and tweaked one of the suiles to have a syntax error. With this PR, all instances complete.

I also ran the same suites with the currently released 1.8.0 but the results were basically the same. Unfortunately the nature of the thread related bugs are tough to reproduce consistently. Based on the code changes here, I do think this will be more reliable and certainly won't make things less reliable.

@smurawski
Copy link
Contributor Author

I tested this by tweaking a provisioner to raise an unhandled error and validating that, with varying levels of concurrency specified, it would work its way through all the specified suites, rather than dying at the first unhandled error. All the errors would be rolled up and available with stack traces in the log.

@cheeseplus
Copy link

👍

@smurawski smurawski merged commit fd12759 into master May 25, 2016
@smurawski smurawski deleted the smurawski/more_robust_concurrency branch May 25, 2016 17:13
@test-kitchen test-kitchen locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants