Skip to content

Run package substitution tests outside the parallel suite#1276

Merged
jobselko merged 1 commit into
pulp:mainfrom
gerrod3:fix/parallel-substitution-tests
Jul 15, 2026
Merged

Run package substitution tests outside the parallel suite#1276
jobselko merged 1 commit into
pulp:mainfrom
gerrod3:fix/parallel-substitution-tests

Conversation

@gerrod3

@gerrod3 gerrod3 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Remove @pytest.mark.parallel from test_disallow_package_substitution and test_package_substitution_allowed_by_default
  • These tests upload a different artifact under the shelf-reader-0.1.tar.gz filename, leaving incorrect global content that breaks parallel PyPI JSON checks (e.g. test_pypi_json)

Test plan

  • CI passes on test (pulp) without test_pypi_json digest mismatches
  • Substitution tests still pass in the non-parallel phase

Made with Cursor

Tests that upload a different artifact under the shelf-reader tar.gz
filename leave incorrect global content that can break parallel PyPI JSON
checks. Legit shelf-reader uploads and syncs remain parallel.

Assisted-by: Cursor
Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread pulp_python/tests/functional/api/test_crud_content_unit.py
@jobselko jobselko merged commit 60c50a1 into pulp:main Jul 15, 2026
14 checks passed
@gerrod3 gerrod3 deleted the fix/parallel-substitution-tests branch July 15, 2026 17:53
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.

2 participants