-
Notifications
You must be signed in to change notification settings - Fork 1.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
release the process
in ember
test helper
#9346
Conversation
for some reason we have sporadic test failures on CI, like: > process already captured This is quite hard to reproduce and the root cause of such a failure is not clear at the moment. This commit is an attempt to provide an alternative to ember-cli#9337, so with this we do not touch `will-interrupt-process`, and try to fix it in the tests land only.
tbh, I'm not sure if I interpret the current stacktraces correctly:
The first stacktrace is supposed to show the initial capture's origin, and then in the second stacktrace it is just a regular The second one seems to be more interesting to me for this specific failure. It looks like the same line of the test(new-test.js:144) invokes |
For the reference. Examples of the failing builds: |
One thing to keep in mind, is that our mocha setup automatically "retries" (IIRC 2x). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy to give it a try, thanks for helping out here!
ah.. this may explain the stacktrace. If such, I think this commit should solve the issue 🤞 |
for some reason we have sporadic test failures on CI, like:
This is quite hard to reproduce and the root cause of such a failure is not clear at the moment.
This commit is an attempt to provide an alternative to #9337, so with this we do not touch
will-interrupt-process
, and try to fix it in the tests land only.