firefox-devtools / firefox-devtools/profiler

Warning in tests: "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 --runInBand --detectOpenHandles to find leaks."

Open
#2,567 0 comments 0 reactions 0 assignees View on GitHub
tests
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 46m
Merged PRs (30d)
27

Description

When running tests I get this warning sometimes:

> 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 --runInBand --detectOpenHandles to find leaks.

I tried to run the command that wouldn't find anything, so I believe this is intermittent.
Also I think this is the reason why appveyor's build is red sometimes, because I know it's more sensitive to these kind of errors.

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-267)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.