As a developer, I have performance tests running nightly on CI
Author: @fao89 (fao89)
Redmine Issue: 8478, https://pulp.plan.io/issues/8478
We need performance tests with volume (1000 collections or more) to run nightly for v3 endpoints
From: @bmbouter (bmbouter) Date: 2021-03-30T18:07:39Z
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?
From: @fao89 (fao89) Date: 2021-04-05T17:18:37Z
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