-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Detox hangs on device.init() for IOS tests #804
Comments
Simulator log |
Log with debug sync is still missing |
Why did you delete all comments? 😐 |
It is still not resolved, but I closed because my company would prefer I not post the logs. Thanks |
🙁 |
@rotemmiz I face similar issue in a RN v0.55 project on iOS simulator (any kind). In debug, most of the time However, if I bootstrap the app with a different view (more heavily packed with requests to server) it gets the Sadly I cannot post a repro now, because it's a disclosed project. Any ideas why this might happen? Tried on Node 10.5, 10.6, 8.11, 8.7, [email protected] and [email protected]. |
Turned out it was hanging because of infinite animation I had on a screen. |
If this might help anyone, it turns out Cylance ( |
@brad-miller1 , any ideas on how to detect such cases? Could you describe how did you come to this conclusion and what can be a symptom for this? I'd like to add some helper code that will detect this kind of issue to prevent similar bug reports in future. |
I ended up finding it in my system logs, I have to leave out some of the details, but the log message was something like this:
|
@brad-miller1 , did you check what operation got enabled after you "lifted the ban"? Was it opening detox-server on a specifc port, or detox-server to simulator communication? I'd be happy to hear any extra input, since it maybe helpful to the other users. |
I mean it could be cool to add a stricter error handler which will throw a fatal exception instead of hanging up. :) |
Basically it was not allowing the app to connect to the detox server, it was not able to connect and therefore could not send the response that the app was ready |
@brad-miller1 , thank you very much!!! 👍 |
Your welcome! It would be great if it could somehow log this type of error so it would be easier to debug! Let me know if I can provide any other info, thanks! |
No description provided.
The text was updated successfully, but these errors were encountered: