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

Test mtime is copied in CopyDirectoryStep #720

Closed
werwty opened this issue Jul 24, 2017 · 0 comments
Closed

Test mtime is copied in CopyDirectoryStep #720

werwty opened this issue Jul 24, 2017 · 0 comments

Comments

@werwty
Copy link

werwty commented Jul 24, 2017

https://pulp.plan.io/issues/2783

  1. Create repo
    pulp-admin rpm repo create --repo-id=test --feed=https://bizhang.fedorapeople.org/testrepo/

  2. Set generate-sqlite to true
    pulp-admin rpm repo update --generate-sqlite=true --repo-id=test

  3. Sync repo
    pulp-admin rpm repo sync run --repo-id=test

  4. check mtime for the sqlite files in /var/lib/pulp/published/yum/https/repos/test/repodata

  5. Upload a rpm
    pulp-admin rpm repo uploads rpm --file=tiger-1.0-4.noarch.rpm --repo-id=test

  6. Sync again
    pulp-admin rpm repo sync run --repo-id=test

  7. check mtime for old sqlite files in /var/lib/pulp/published/yum/https/repos/test/repodata remain the same.

@preethit preethit added this to the Coverage for 2.14 milestone Jul 27, 2017
@nixocio nixocio self-assigned this Oct 11, 2017
nixocio pushed a commit to nixocio/pulp-smash that referenced this issue Oct 11, 2017
* Test:

  1. Create and sync a repository.
  2. Publish the repository with the option `generate_sqlite` as True.
  3. Verify the `mtime` for the sqlite files.
  4. Upload a RPM package to the repository.
  5. Sync the repository again.
  6. Assert that `mtime` for old sqlite files remain the same.

Closes: pulp#720
nixocio pushed a commit to nixocio/pulp-smash that referenced this issue Oct 16, 2017
* Test:

  1. Create and sync a repository.
  2. Publish the repository with the option `generate_sqlite` as True.
  3. Verify the `mtime` for the sqlite files.
  4. Upload a RPM package to the repository.
  5. Sync the repository again.
  6. Assert that `mtime` for old sqlite files remain the same.

Closes: pulp#720
nixocio pushed a commit to nixocio/pulp-smash that referenced this issue Oct 17, 2017
* Test:

  1. Create and sync a repository.
  2. Publish the repository with the option `generate_sqlite` as True.
  3. Verify the `mtime` for the sqlite files.
  4. Upload a RPM package to the repository.
  5. Sync the repository again.
  6. Assert that `mtime` for old sqlite files remain the same.

Closes: pulp#720
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants