Skip to content
This repository was archived by the owner on Jul 14, 2021. It is now read-only.

ChefSpec unusably slow in ChefDK > 0.3.2 #280

Closed
someara opened this issue Dec 26, 2014 · 6 comments
Closed

ChefSpec unusably slow in ChefDK > 0.3.2 #280

someara opened this issue Dec 26, 2014 · 6 comments

Comments

@someara
Copy link
Contributor

someara commented Dec 26, 2014

ChefSpec 4.2 is taking ~3 seconds per test

https://gist.github.com/someara/678301194a8c9b89e105

@danielsdeleo
Copy link
Contributor

Need more info to nail this down to a specific upstream component. Is this related to chef/chef#2703 (and fixed in master of ChefSpec, possibly)?

@someara
Copy link
Contributor Author

someara commented Dec 31, 2014

ChefSpec 4.2.0 is still really slow... but only by 4x instead of the previous >10x

https://gist.github.com/someara/6fb5ec8485a0a628053b

@danielsdeleo
Copy link
Contributor

Is there an upstream bug report we can refer to?

@someara
Copy link
Contributor Author

someara commented Jan 5, 2015

Not yet. Was going to see if I could dig up more info before filing it with Seth. 


Sent from Mailbox

On Sun, Jan 4, 2015 at 5:32 PM, Dan DeLeo notifications@github.com
wrote:

Is there an upstream bug report we can refer to?

Reply to this email directly or view it on GitHub:
#280 (comment)

@danielsdeleo
Copy link
Contributor

What version of ChefDK did you have before this problem appeared? Has ChefSpec been upgraded since then? Does the problem go away if you downgrade ChefSpec with a newer ChefDK?

@someara
Copy link
Contributor Author

someara commented Jan 14, 2015

The solution here is to use the new cached spec runners.

chefspec/chefspec#551

-s

@someara someara closed this as completed Jan 14, 2015
ksubrama pushed a commit that referenced this issue Jan 11, 2016
@chef-boneyard chef-boneyard locked and limited conversation to collaborators Feb 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants