-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Reporting tests with open handles preventing Jest from completing #115881
Comments
Pinging @elastic/kibana-reporting-services (Team:Reporting Services) |
Also while you're looking at this, I am wondering if we could suppress the debug logs triggered by these tests. Example:
|
I looked into this a little bit and it looks like the issue for the open handles is This is not limited to Reporting tests as I was able to reproduce this in other tests using |
I see @jloleysens you already have a fix PR for upstream dependency, which is great. Just wanted to check with you one more idea: what do you think about not mocking the file system? Instead using the real file system, then cleaning up once tests finish. |
@vadimkibana , yeah I think that would be a feasible option too. Might just make the tests need to know even more about implementation details though. |
Oops, there is still one skipped test that leaves an open handle:
The tests are passing but the command stays open without exiting. I don't see nay warnings or clues about how to unskip this test. |
Github issue description exceeds 32767 characters. This is too long for Jira. See the GH issue.
The text was updated successfully, but these errors were encountered: