-
Notifications
You must be signed in to change notification settings - Fork 350
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
Problem: integration test speed is slow #197
Comments
it's separated by marks, "not ledger" and "ledger", they are not overlapped. |
currently ledger tests are running sequentially with other tests, the reason for that is ledger simulator is too costly, slows down the whole github action vm. |
I increased xdist's worker number to 7, the time dropped a bit. |
it looks like the speed has been a bit improved, but has to be balanced, so that it doesn't timeout on CI -- feel free to reopen this if there's some obvious way for more improvements |
currently, same test is done twice.
nix-integration-test: check-network
nix-shell integration_tests/shell.nix --run "pytest -v -n 3 -m 'not ledger' --dist loadscope"
nix-shell integration_tests/shell.nix --run "pytest -v -m ledger"
i suggest separate ledger and non-lendger to different folders,
so ,it makes total integration test faster
The text was updated successfully, but these errors were encountered: