-
Notifications
You must be signed in to change notification settings - Fork 509
Flaky E2E tests #2065
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
Comments
I'll try to bump playwright libs and re-run |
Seems that #2066 stabilized
The underlying problem with unit tests is that they don't do smart await until specific data is available, they just sleep for a specified amount: ipfs-webui/src/bundles/peer-bandwidth.test.js Lines 196 to 197 in f138960
|
This is a quick band-aid to stop sleep from sometimes failing on CI #2065 (comment)
This is a quick band-aid to stop sleep from sometimes failing on CI #2065 (comment)
## [2.21.0](v2.20.0...v2.21.0) (2022-12-09) CID `bafybeiequgo72mrvuml56j4gk7crewig5bavumrrzhkqbim6b3s2yqi7ty` --- ### Features * use direct links to download all files ([#1894](#1894)) ([d1bcbbf](d1bcbbf)) ### Bug Fixes * support /quic-v1 ([#2073](#2073)) ([04eb7b3](04eb7b3)) ### Trivial Changes * bump playwright deps ([#2066](#2066)) ([f138960](f138960)) * **ci:** fix flaky unit test ([#2068](#2068)) ([bd038cd](bd038cd)), closes [/github.com//issues/2065#issuecomment-1315933342](https://github.com/ipfs//github.com/ipfs/ipfs-webui/issues/2065/issues/issuecomment-1315933342) * Pull transifex translations ([#2069](#2069)) ([36f3641](36f3641)) * revert [#2032](#2032) ([#2064](#2064)) ([9473d7d](9473d7d)), closes [/github.com//pull/2032#issuecomment-1278928440](https://github.com/ipfs//github.com/ipfs/ipfs-webui/pull/2032/issues/issuecomment-1278928440)
This is a tracking issue for removing flakiness of E2E tests, as this impacts other repos.
I've been running tests locally in a loop until they fail (
while npm test; do :; done
) and identified 4 types of failures.Pain points
(1)
(2)
(3)
4x more often than the rest
(4)
The text was updated successfully, but these errors were encountered: