Task #8478
closedAs a developer, I have performance tests running nightly on CI
0%
Description
Ticket moved to GitHub: "pulp/pulp_ansible/722":https://github.com/pulp/pulp_ansible/issues/722
We need performance tests with volume (1000 collections or more) to run nightly for v3 endpoints
Updated by bmbouter over 2 years ago
So this loading of the db is really helpful to test the reading of data from the Galaxy V2 and V3 endpoints. We have a lot of those tests already which is great.
What would be really great is if we didn't "write a lot of new tests" but instead found a way to use the existing test code only against a fully loaded db instead of us loading a minimal amount of data just to give pulp something to respond with. This would like just be a few limited tests, but even if it's a few, I'd like us to avoid "writing the same tests just now in another python module" somehow.
fao89 any ideas on how to achieve this design-wise? Also can we identify a set of existing tests we would like to run with the loaded db?
Updated by fao89 over 2 years ago
maybe we can add some environment variable on CI, SHOULD_LOAD_DB=True, the tests would check for that and pre-load data when running for cron job
Updated by pulpbot almost 2 years ago
- Description updated (diff)
- Status changed from NEW to CLOSED - DUPLICATE