Skip to content

[PR #1310/c7fa1454 backport][3.32] Switch content 2.4 metadata upload test to use attrs package to avoid race condition with large sync test - #1311

Merged
gerrod3 merged 1 commit into
3.32from
patchback/backports/3.32/c7fa1454ac6d806502bfe46be676ef73c50369a0/pr-1310
Jul 29, 2026
Merged

[PR #1310/c7fa1454 backport][3.32] Switch content 2.4 metadata upload test to use attrs package to avoid race condition with large sync test#1311
gerrod3 merged 1 commit into
3.32from
patchback/backports/3.32/c7fa1454ac6d806502bfe46be676ef73c50369a0/pr-1310

Conversation

@patchback

@patchback patchback Bot commented Jul 29, 2026

Copy link
Copy Markdown

This is a backport of PR #1310 as merged into main (c7fa145).

test_basic_pulp_to_pulp_sync uses the large python fixture to populate Pulp which includes setuptools. On sync we don't populate the metadata_version field since it isn't exposed in the pypi/json api, so if this test runs first then setuptools will not have the field set when the content is reused on the upload test. We should come up with a better long term solution but for now this should work.

📜 Checklist

  • Commits are cleanly separated with meaningful messages (simple features and bug fixes should be squashed to one commit)
  • A changelog entry or entries has been added for any significant changes
  • Follows the Pulp policy on AI Usage
  • (For new features) - User documentation and test coverage has been added

See: Pull Request Walkthrough

… race condition with large sync test

(cherry picked from commit c7fa145)
@gerrod3
gerrod3 enabled auto-merge (rebase) July 29, 2026 15:25
@gerrod3
gerrod3 merged commit 761e139 into 3.32 Jul 29, 2026
25 of 27 checks passed
@gerrod3
gerrod3 deleted the patchback/backports/3.32/c7fa1454ac6d806502bfe46be676ef73c50369a0/pr-1310 branch July 29, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant