Project

Profile

Help

Test #8041

Add tests for RPM migration re-runs

Added by ttereshc 4 months ago. Updated 3 months ago.

Status:
CLOSED - COMPLETE
Priority:
Normal
Assignee:
Sprint/Milestone:
Platform Release:
Tags:
Sprint:
Sprint 88
Quarter:
Q1-2021

Description

Those tests require 2 snapshots.

Snapshot 1:

  • empty repo, no importer, a distributor
  • another empty repo (to copy content to later), no importer, a distributor
  • rpm-with-modules repo, on_demand importer, a distributor
  • rpm-distribution-tree repo, on_demand importer, a distributor
  • srpm-unsigned repo, on_demand importer, a distributor

Snapshot 2:

  • empty repo and its distributor unchanged
  • copy a package to an empty repo, and its distributor unchanged
  • rpm-with-modules repo (remove one package, clean orphans), importer feed change, distributor with no changes
  • rpm-distribution-tree repo unchanged, its importer unchanged, distributor checksum_type change
  • srpm-unsigned repo unchanged, its importer unchanged, distributor relative path change
  • rpm-richweak-deps repo (sync, remove one package, no orphan cleanup)

Checklist

Associated revisions

Revision ed3fdc34 View on GitHub
Added by ttereshc 4 months ago

Add tests for repo/importer/distributor migration re-runs

Also a bit of refactor to reuse setUpClass and teardownClass.

closes #8041 https://pulp.plan.io/issues/8041

Revision ed3fdc34 View on GitHub
Added by ttereshc 4 months ago

Add tests for repo/importer/distributor migration re-runs

Also a bit of refactor to reuse setUpClass and teardownClass.

closes #8041 https://pulp.plan.io/issues/8041

Revision ed3fdc34 View on GitHub
Added by ttereshc 4 months ago

Add tests for repo/importer/distributor migration re-runs

Also a bit of refactor to reuse setUpClass and teardownClass.

closes #8041 https://pulp.plan.io/issues/8041

History

#1 Updated by ttereshc 4 months ago

  • Description updated (diff)

#2 Updated by ttereshc 4 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ttereshc
  • Sprint set to Sprint 88
  • Quarter set to Q1-2021

#3 Updated by ttereshc 4 months ago

  • Checklist item As a user, I can re-run migration multiple times and only newly added or changed content in Pulp 2 is migrated set to Done

#4 Updated by ttereshc 4 months ago

  • Checklist item As a user, I can re-run migration multiple times and only newly added or changed repository in Pulp 2 is migrated set to Done

#5 Updated by ttereshc 4 months ago

  • Description updated (diff)

#6 Updated by ttereshc 4 months ago

  • Description updated (diff)

#7 Updated by ttereshc 4 months ago

  • Checklist item As a user, an RPM importer is re-migrated only if its feed changed set to Done
  • Checklist item As a user, an RPM distributor is re-migrated only if its relative_path or cheksum_type changed set to Done

#8 Updated by ttereshc 4 months ago

  • Status changed from ASSIGNED to MODIFIED

#9 Updated by ttereshc 4 months ago

  • Sprint/Milestone set to 0.7.0

#10 Updated by ttereshc 3 months ago

  • Status changed from MODIFIED to CLOSED - COMPLETE

Please register to edit this issue

Also available in: Atom PDF