Skip to content
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

Sync Issues if Native Modules with Network connection are used #146

Closed
K-Leon opened this issue May 31, 2017 · 3 comments
Closed

Sync Issues if Native Modules with Network connection are used #146

K-Leon opened this issue May 31, 2017 · 3 comments

Comments

@K-Leon
Copy link

K-Leon commented May 31, 2017

I noticed that test won't get started, if there are Backgroundmodules which create a Network Connection like react-native-socketio.

The whole Testingsystem seems to wait until this (permanent) Connection is done. Any possibility to handle this with a custom callback or exclude / ignore filter to handle domains that shouldn't affect ready state?

The Result ist a global timeout.

@rotemmiz
Copy link
Member

Yes, this is synchronization mechanism of EarlGrey, and it's API supports exclusion of certain endpoints. We have plans to expose it via Detox API soon.

Actually, it's a really simple feature which we will happily accept as a PR if someone gets to it before we do.

@LeoNatan
Copy link
Contributor

@rotemmiz Has this been implemented yet? I don't remember.

@rotemmiz rotemmiz closed this as completed Dec 4, 2017
@wix wix locked and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants