Project

Profile

Help

Task #8478

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

Added by fao89 4 months ago. Updated 4 months ago.

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

0%

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

Description

We need performance tests with volume (1000 collections or more) to run nightly for v3 endpoints

History

#1 Updated by bmbouter 4 months 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?

#2 Updated by fao89 4 months 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

Please register to edit this issue

Also available in: Atom PDF