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

CI: pass the number of retries to mocha #938

Open
fflorent opened this issue Apr 15, 2024 · 1 comment
Open

CI: pass the number of retries to mocha #938

fflorent opened this issue Apr 15, 2024 · 1 comment

Comments

@fflorent
Copy link
Collaborator

The CI may fail for random reasons (mostly due to timeouts).

It becomes hard to know whether the failure is due to our additions or to the instabilities.

Mocha allows to globally set a number of retries for tests: https://mochajs.org/api/mocha#retries

May be worth for nbrowser tests (AFAIK, these are the most unstable). WDYT?

@paulfitz
Copy link
Member

I've been wanting to look at what the tests are doing, during the obvious and common timeouts. Is it somehow downloading some big silly webdriver binary, or what is going on? Ideally someone would take some time to understand what exactly is timing out before wrapping it in retries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants