Project

Profile

Help

Test #6901

closed

Test #6052: Systematically add repository tests

Add test to check validity of distributed repos

Added by quba42 over 2 years ago. Updated 11 months ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
Platform Release:
Tags:
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulp_deb/385":https://github.com/pulp/pulp_deb/issues/385


We should have a test that synchronizes a fully valid repository from the fixtures, creates, a publication, and finally a distribution, and finally tests that distribution for validity.

Ideally we would use an actual APT client to do this, and possibly even test installing a package from the test repository.

Actions #1

Updated by quba42 over 2 years ago

My basic approach would be:

  • Create a simple example repo in the fixtures containing a single package without dependencies.
  • Syncing, Publishing, and Distributing this repo.
  • Running a container that consumes the distributed repo and installs the example package. (Assert that the package contents are not there before, and are there after the installation).

I don't know how feasible it is to run a test in a separate container that talks to the pulp container?

Actions #2

Updated by quba42 over 2 years ago

  • Sprint/Milestone set to Wishlist
Actions #3

Updated by quba42 over 2 years ago

  • Sprint/Milestone changed from Wishlist to Testing
Actions #4

Updated by pulpbot 11 months ago

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

Also available in: Atom PDF