-
Notifications
You must be signed in to change notification settings - Fork 1k
Speed up test suite #4849
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
base: master
Are you sure you want to change the base?
Speed up test suite #4849
Conversation
Here are top 50 slowest tests (a lot of them already live in
|
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.
I can see that 'archival meta' has not been moved to the acceptance, even though it's one of the slowest tests we have. I have mixed feelings about it; it is sensitive to the fee changes and it often breaks. Maybe we should think how to separate it into a basic test that covers most of the logic quickly and then a slower acceptance test with more forgiving assertions? cc @SirTyson
I think given the amount of updates and breaks that particular test has seen in p23, we should keep it in non-acceptance. In general our meta tests seem somewhat lacking and need improvement. For this particular test, I think it will be fairly easy to speed up significantly, which I'll work on as a followup. |
Sad news: I looked a bit more into our
|
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.
Thanks for looking into the test backlogs! Just a couple of small questions.
There's a surprising perf issue in "LedgerTxnRoot prefetch classic entries" test: this call takes almost a minute, which seems way too high given we only generate 1000 valid classic entries. |
Resolves https://github.com/stellar/stellar-core-internal/issues/371
Resolves #2100
Resolves #4445
Looks like our test suite accumulated quite a lot of tech debt and is taking much longer than it should(this came up in a recent conversation with @drebelsky about simple tests like "txset nomination" taking ~35 seconds).
This PR makes several changes:
The script can be run on all tests, any partition, or an individual test. sample output:
acceptance
Opening as a draft, since I haven't finished auditing all the tests flagged by the scripts.