Task #5458
Updated by bmbouter about 5 years ago
h3. Problem
The performance team wrote two repositories of tests for pulp_file.
fixture generator: Repos to test having files-count 100000 and created using "this script":https://github.com/redhat-performance/pulpperf/tree/master/scrips
The test scripts themselves: https://github.com/redhat-performance/pulpperf/tree/master/tests
The tests can be run on the pulp3 system using commands by specifying the test along with repos manually.
h3. Solution
We need to move these tests into pulp_file's "test area":https://github.com/pulp/pulp_file/tree/master/pulp_file/tests
We should create a new "performance" area since these are long running tests, distinct from functional tests.
The tests need to output the runtime of the tests which is the key metric of interest.
The user should be able to run <code>django-admin test performance</code> when in "this directory":https://github.com/pulp/pulp_file/tree/master/pulp_file/tests and have it:
1. generate the fixture data it will use in a temporary location
2. serve that data somehow (maybe with nginx?)
3. have the sync tests sync from that and re-sync per the different tests