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
Test that --force_full is supported in export #301
Comments
We have a test for the |
@Ichimonji10 Those tests only seem to cover the --force_full option in publish. Repo export also has the option and this issue is for that. |
Ahh. So if |
Yes. That is the one. |
This commit fixes the Pulp Smash issue pulp#301 and Pulp issue #1938. Test steps: 1. Create and sync a repository. 2. Checkout to content directory /var/lib/pulp/content/units/rpm/. 3. Remove some random contents in that folder. 4. Trigger a force sync to verify if the removed contents will be restored. Test output: ``` $ python -m unittest pulp_smash.tests.rpm.cli.test_sync.ForceSyncTestCase [sudo] password for chozhang: . ---------------------------------------------------------------------- Ran 1 test in 28.589s OK ```
This commit fixes the Pulp Smash issue pulp#301 and Pulp issue #1938. Test steps: 1. Create and sync a repository. 2. Checkout to content directory /var/lib/pulp/content/units/rpm/. 3. Remove some random contents in that folder. 4. Trigger a force sync to verify if the removed contents will be restored. Test output: ``` $ python -m unittest pulp_smash.tests.rpm.cli.test_sync.ForceSyncTestCase [sudo] password for chozhang: . ---------------------------------------------------------------------- Ran 1 test in 28.589s OK ```
This commit fixes the Pulp Smash issue #301 and Pulp issue #1938. Test steps: 1. Create and sync a repository. 2. Checkout to content directory /var/lib/pulp/content/units/rpm/. 3. Remove some random contents in that folder. 4. Trigger a force sync to verify if the removed contents will be restored. Test output: ``` $ python -m unittest pulp_smash.tests.rpm.cli.test_sync.ForceSyncTestCase [sudo] password for chozhang: . ---------------------------------------------------------------------- Ran 1 test in 28.589s OK ```
https://pulp.plan.io/issues/1938
Steps
Assert
$ pulp-admin -vv rpm repo export run --repo-id foo --force-full
+----------------------------------------------------------------------+
Publishing Repository [ina]
+----------------------------------------------------------------------+
The following publish configuration options will be used:
Force Full: True
The text was updated successfully, but these errors were encountered: