-
Notifications
You must be signed in to change notification settings - Fork 106
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
Error: ENOTEMPTY, directory not empty when running npm test
#235
Comments
This is caused by a change in behavior by the Can see this in action by manually setting the wrench version between 1.5.4 and 1.3.9 in Meteorite's Reverting to wrench 1.3.9 fixes the issue. PR coming soon. |
FYI, opened a ticket on wrench repo since there is no way to override the behavior in latest wrench: ryanmcgrath/wrench-js#71 |
I'm still seeing this every once in a while. Since its an intermittent issue, i'd say its a timing thing. I tried replacing wrench with rifraf, another So that leads me to believe it is because some part of the meteor process (or mongo) has not finished yet and still has open files in the I don't see the error anymore if I make the test_spec.js script retry the deletion a few times. Its nasty but it seems to work. What do you think? |
We should be killing the meteor process properly but maybe we aren't quite getting it. I'm not too stressed if the tests are hacky as long as they usually work and actually test what they are supposed to :) |
I get the following error when running tests on a new VM with clean clone of Meteorite:
The text was updated successfully, but these errors were encountered: