Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a test case for purge of pulp tasks #15631

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

vsedmik
Copy link
Contributor

@vsedmik vsedmik commented Jul 11, 2024

Problem Statement

New setting and functionality to purge successfully completed pulp tasks was added to the stream and backported to 6.15.z and we should test it.

Solution

This PR adds:

  • a test case to cover the functionality
  • a helper to run orphan cleanup

Related Issues

https://issues.redhat.com/browse/SAT-25155

PRT test Cases example

trigger: test-robottelo
pytest: tests/foreman/cli/test_repositories.py -k purge

@vsedmik vsedmik added CherryPick PR needs CherryPick to previous branches AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing Stream Introduced in or relating directly to Satellite Stream/Master 6.15.z Introduced in or relating directly to Satellite 6.15 labels Jul 11, 2024
@vsedmik vsedmik self-assigned this Jul 11, 2024
@vsedmik vsedmik requested review from a team as code owners July 11, 2024 15:08
@vsedmik
Copy link
Contributor Author

vsedmik commented Jul 11, 2024

trigger: test-robottelo
pytest: tests/foreman/cli/test_repositories.py -k purge

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 7718
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/cli/test_repositories.py -k purge --external-logging
Test Result : =========== 1 passed, 6 deselected, 17 warnings in 829.80s (0:13:49) ===========

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Jul 11, 2024
Copy link
Contributor

@sambible sambible left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@sambible sambible merged commit 8af3e67 into SatelliteQE:master Jul 11, 2024
13 checks passed
jyejare pushed a commit to jyejare/robottelo that referenced this pull request Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.15.z Introduced in or relating directly to Satellite 6.15 AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing CherryPick PR needs CherryPick to previous branches PRT-Passed Indicates that latest PRT run is passed for the PR Stream Introduced in or relating directly to Satellite Stream/Master
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants