-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Enable higher parallelism in tests #18744
Comments
Also, retries built into the testware hide ASAN findings (https://bravesoftware.slack.com/archives/C6R461GF4/p1636537519052500). Taking out those retries would likely cause every run to fail. That applies at least to browser tests. |
cc: @bsclifton Need sizing for this one and when we can possibly schedule it. |
Things have improved since this was reported Parallelism is now increased across platforms by explicitly passing Linux
macOS
Windows
Android
iOS
|
In the course of testing the above changes, it became clear that, at least on desktop, there's an internal limit to |
Also, |
We now use --test-launcher-jobs=nproc across platforms and test types, except Windows ASAN builds, where it's nproc/1.5 for brave browser tests and nproc/3 for chromium browser tests (otherwise memory runs out) |
Tests run with --test-launcher-jobs=4 by default, including in CI. In Windows/ASAN we had to go down to 2 for unit tests, otherwise they wouldn't pass.
Relevant slack threads:
Failures with higher parallelism indicate real problems, like missing dependencies, race conditions, etc. And with a growing number of tests, this will keep lengthening the feedback loop (both in CI and locally), which we need to shorten.
The text was updated successfully, but these errors were encountered: