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

flaky jest --detectLeaks #8264

Closed
Akuukis opened this issue Apr 3, 2019 · 3 comments
Closed

flaky jest --detectLeaks #8264

Akuukis opened this issue Apr 3, 2019 · 3 comments

Comments

@Akuukis
Copy link

Akuukis commented Apr 3, 2019

🐛 Bug Report

Further investigation on #8247 reveals that jest --detectLeaks is flaky. Across 14 out of our ~40 testsuites are known to be memory leaking according to #8247. So I skipped those with describe.skip at top level.

Nevertheless, despite not running any tests, repeated jest --detectLeaks reported between 9 and 11 to be memory leaking.

``jest --detectLeaks --watch` has interesting behavior. When watching one of the flaky testsuites, it consistently iterated between "skipped" and "failed". After deleting something it went to randomly failing around 10% of time.

To Reproduce

See #8247.

Expected behavior

Consistent behavior.

Link to repl or repo (highly encouraged)

Sorry, can't post all repo online. Tried to make little contained case but didn't succeed. It was not exclusive to using Sequelize as in #8247.

Run npx envinfo --preset jest

Paste the results here:

  System:
    OS: Linux 4.15 Ubuntu 18.04.2 LTS (Bionic Beaver)
    CPU: (16) x64 AMD Ryzen 7 2700X Eight-Core Processor
  Binaries:
    Node: 8.15.0 - /tmp/yarn--1553787598857-0.15377962644583643/node
    Yarn: 1.15.2 - /tmp/yarn--1553787598857-0.15377962644583643/yarn
    npm: 6.4.1 - /usr/local/bin/npm
@github-actions
Copy link

This issue is stale because it has been open for 1 year with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the Stale label Feb 17, 2023
@github-actions
Copy link

This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 19, 2023
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2023
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

2 participants