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

Explicitly require docker transport to avoid autoload bug #882

Merged
merged 1 commit into from
Aug 5, 2016

Conversation

stevendanna
Copy link
Contributor

Ruby's autoload feature is not threadsafe. We are hoping requiring the
docker plugin early will fix odd failures we have been seeing.

Signed-off-by: Steven Danna steve@chef.io

Ruby's autoload feature is not threadsafe.  We are hoping requiring the
docker plugin early will fix odd failures we have been seeing.

Signed-off-by: Steven Danna <steve@chef.io>
@ksubrama
Copy link

ksubrama commented Aug 5, 2016

Dunno if you need to access them as well... we'll see.

In test-kitchen/kitchen-ec2#264, we had to touch one of the loaded classes to actually force it to finish autoloading everything before the threaded code could run.

@stevendanna stevendanna merged commit 9baf01c into master Aug 5, 2016
@stevendanna
Copy link
Contributor Author

@ksubrama We'll keep an eye on it to figure out if we need something like that.

@stevendanna stevendanna deleted the ssd/autofail branch August 5, 2016 17:53
@chris-rock chris-rock modified the milestone: 0.30.0 Aug 10, 2016
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

4 participants