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

Close sequalize connection in stopWebServer #136

Open
mikicho opened this issue Sep 19, 2021 · 1 comment
Open

Close sequalize connection in stopWebServer #136

mikicho opened this issue Sep 19, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@mikicho
Copy link
Contributor

mikicho commented Sep 19, 2021

We get:

Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?

Probably because we don't close the connection to the DB.
It may require using only one instance of sequalize.

@mikicho mikicho added the bug Something isn't working label Sep 19, 2021
@rubengmurray
Copy link
Contributor

Seeing something similar when I run locally

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants