-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Increased flakiness of Jest tests is getting out of hand #141477
Comments
Pinging @elastic/kibana-operations (Team:Operations) |
First failed test issue were I did the most research on this problem: #115307 |
Bug being tracked by Jest: jestjs/jest#12670 |
Interesting development, I setup the tests to run "in band" again and now we've seen the
Failures on main:
I'm now looking to skip the entire watcher config in #141677 |
Looks like |
EUI's findings on consistent Buildkite logs:
Code snippet in case the above links expire
Debug process:
My best uneducated guess is that there's tests in there with async issues tripping up Jest's failure reporting. I repeatedly saw many console errors/warnings about actions not wrapped in |
Update to this - |
The disabled suite mentioned above has been re-enabled and we haven't seen any recent occurrences of this issue. |
We've been seeing an increase in the flakiness of many Jest tests, which has lead to us skipping many tests and spending a lot of time debugging libraries like
react-dom/test-utils
(#139444) which seems to be related to the flakiness with errors like:All that said, it's not clear what is causing this problem so I wanted to open this as an issue were we can collect information about this problem. I'm going to start by running our unit tests "in band" once again, which should help in the short-term, but hopefully we can identify a better long term solution.
The text was updated successfully, but these errors were encountered: