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 test for Pulp 2788 #826

Merged
merged 2 commits into from
Dec 18, 2017
Merged

Add test for Pulp 2788 #826

merged 2 commits into from
Dec 18, 2017

Conversation

Ichimonji10
Copy link
Contributor

The first commit just does some refactoring. The second adds a test case for Pulp 2788.

@nixocio
Copy link

nixocio commented Dec 14, 2017

@Ichimonji10, as we talked, adding a negative test case for remove_old_repodata as False will increase the test scenarios covered.

@Ichimonji10
Copy link
Contributor Author

Updated and re-tested.

@nixocio
Copy link

nixocio commented Dec 18, 2017

@Ichimonji10, with this new change, the test will behave as expected.

Deduplicate docstring information. This makes it possible to add an
additional test case to the module without breaking any semantics.

Drop an unused constant. It's unnecessary.

Sync unsigned RPMs, instead of signed RPMs. This means less data is
pushed around and processed, which makes the test slightly quicker.
Add `RemoveOldRepodataTestCase`, which verifies that old repodata is
removed when it should be.

See: https://pulp.plan.io/issues/2788

Fix: #681
@Ichimonji10
Copy link
Contributor Author

Re-tested against beta 3. The test now passes.

@Ichimonji10 Ichimonji10 merged commit fe6de19 into pulp:master Dec 18, 2017
@Ichimonji10 Ichimonji10 deleted the pulp-2788 branch December 18, 2017 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants