Skip to content
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

As a developer, I have performance tests running nightly on CI #722

Open
pulpbot opened this issue Nov 17, 2021 · 2 comments
Open

As a developer, I have performance tests running nightly on CI #722

pulpbot opened this issue Nov 17, 2021 · 2 comments

Comments

@pulpbot
Copy link
Member

pulpbot commented Nov 17, 2021

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

@pulpbot
Copy link
Member Author

pulpbot commented Nov 17, 2021

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?

@pulpbot
Copy link
Member Author

pulpbot commented Nov 17, 2021

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

@gerrod3 gerrod3 removed the New label Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants