You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2024. It is now read-only.
If tests call code that fork()s, use of this plugin often leads to crashes on Mac OS High Sierra and onward, *even when number of workers is set to 1*
#109
Open
posita opened this issue
Jan 21, 2022
· 0 comments
I think this should at least be prominently documented. I can conceive of a couple work-arounds.
Programmatically set the OBJC_DISABLE_INITIALIZE_FORK_SAFETY environment variable to YES before running tests.
Create a marker and allow for a mechanism to avoid running marked tests outside the main process? (Not sure if this would work, or how feasible this is.)
But again, I think this symptom and the basic work-around outlined in the StackOverflow post should make its way into the documentation somewhere visible (maybe even with a link to that post).
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Background: https://stackoverflow.com/q/50168647
I think this should at least be prominently documented. I can conceive of a couple work-arounds.
OBJC_DISABLE_INITIALIZE_FORK_SAFETY
environment variable toYES
before running tests.But again, I think this symptom and the basic work-around outlined in the StackOverflow post should make its way into the documentation somewhere visible (maybe even with a link to that post).
The text was updated successfully, but these errors were encountered: