-
Notifications
You must be signed in to change notification settings - Fork 27
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
test: Fix too many files open errors #503
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #503 +/- ##
==========================================
+ Coverage 83.45% 83.56% +0.11%
==========================================
Files 188 187 -1
Lines 17083 16829 -254
Branches 2642 2590 -52
==========================================
- Hits 14256 14063 -193
+ Misses 2339 2301 -38
+ Partials 488 465 -23
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
2caf6de
to
60b0f33
Compare
The error we are trying to fix happened only when running tests? Do we have more info about it? |
It definitely happens on my machine:
Which by default has a low ulimit:
I can't set my ulimit to 1000 or higher:
But I can set it to 9999:
I can't complete a large suit of tests (like Since this was only on my machine and not on any of the test environments I never bothered too much, but I guess this started happening for Marcelo too. I'll test if this fix works for me, maybe it is possible to setup the CI to similar conditions (like lowering the ulimit), but I'm not sure if it's worth it. It might be good because it's a sign that we're cleaning up correctly, but most usually it is something test-environment related and dev-system specific. |
60b0f33
to
dc47da9
Compare
dc47da9
to
1c6b7a0
Compare
1c6b7a0
to
d80cb63
Compare
Acceptance Criteria