-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
build: fix itest parallelism #5734
Conversation
Visit https://dashboard.github.orijtech.com?back=0&pr=5734&remote=true&repo=bhandras%2Flnd to see benchmark details. |
I think this needs to be documented better as I tend to forget it myself as well all the time. So I think we should just fix the Windows and ARM builds by specifying |
Thanks for noticing this by the way! Now I know why the Windows build was always successful, it also only ran half the tests (apparently the "easy" half). |
Ah, ok! Sorry I think I remembered this from before now that you said it because I reviewed the original PR adding parallelism just forgot! :) |
Funny because I didn't notice that the windows build was wrong 😅 |
7039c10
to
16436a3
Compare
Tbh I think our docs are good, I just didn't pay attention to the details: https://github.com/lightningnetwork/lnd/blob/master/docs/MAKEFILE.md#itest-parallel |
Yeah I thought we were splitting the tests into several parts and run them in parallel, like a MapReduce. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR fixes the problem of only running half the itests. The ARM tests still aren't reliable but seem to fail much later, so maybe we can address those flakes individually.
So LGTM 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM⚡️
The latest ARM build seems to have only ran half of the itests: https://app.travis-ci.com/github/lightningnetwork/lnd/jobs/537407681
This PR attempts to fix itest parallelism by fixing the number of tranches to the parallelism param.