Project

Profile

Help

Task #8478

closed

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

Added by fao89 about 3 years ago. Updated over 2 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

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

Actions #1

Updated by bmbouter about 3 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?

Actions #2

Updated by fao89 about 3 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

Actions #3

Updated by pulpbot over 2 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF