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

@realm/react tests sometimes hanging on CI #4530

Open
tomduncalf opened this issue Apr 27, 2022 · 0 comments
Open

@realm/react tests sometimes hanging on CI #4530

tomduncalf opened this issue Apr 27, 2022 · 0 comments

Comments

@tomduncalf
Copy link
Contributor

tomduncalf commented Apr 27, 2022

The @realm/react tests are sometimes hanging on CI. When run locally, you get this error:

A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.

But running with --detectOpenHandles does not seem to help – the tests either pass, or hang forever.

Workaround is to run with --forceExit but it would be good to work out what causes this.

Screenshots from example run on CI:

(this will hang at this point until the build times out)

image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant