Task #5873
closed
update pulpcore and pulp_file functional tests to use a configurable hostname+prefix for fixtures
Status:
CLOSED - CURRENTRELEASE
Description
Pulp-smash config needs to accept a 'fixtures_origin' setting. This should default to 'https://repos.fedorapeople.org/repos/pulp/pulp/fixtures/'.
All the functional tests in pulpcore and pulp_file need to be updated to use 'fixtures_origin' config when constructing URLs for File Remotes to sync from.
The Travis scripts for pulpcore and pulp_file need to set the 'fixtures_origin' setting to 'http://localhost/' before running the functional tests.
I would probably make this configurable and not hard coded. For example, I've been thinking of spinning up a fixtures container/vm that's not local (ie external to my dev env) to serve fixtures so I don't have to keep generating the fixtures.
ETA: This could be set in the pulp-smash config as an option: https://github.com/pulp/pulpcore/blob/master/.travis/pulp-smash-config.json
- Subject changed from update pulpcore and pulp_file tests to use fixtures hosted locally to update pulpcore and pulp_file functional tests to use a configurable hostname+prefix for fixtures
- Description updated (diff)
- Related to Task #5872: Generate pulp_file fixtures on Travis and serve using nginx added
- Status changed from NEW to POST
- Assignee set to fao89
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
- Related to Task #5913: Make the option to generate fixtures locally available for all plugins added
- Sprint/Milestone set to 3.0.1
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Also available in: Atom
PDF
Generating fixture internally
https://pulp.plan.io/issues/5873 Required PR: https://github.com/pulp/pulp-smash/pull/1228 closes #5873