Skip to content

Add a test for the postgresql parameter limit workaround#7327

Closed
dralley wants to merge 2 commits intopulp:mainfrom
dralley:postgresql-param-check
Closed

Add a test for the postgresql parameter limit workaround#7327
dralley wants to merge 2 commits intopulp:mainfrom
dralley:postgresql-param-check

Conversation

@dralley
Copy link
Contributor

@dralley dralley commented Feb 17, 2026

📜 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

assert rvcd_qs.get(count_type=RepositoryVersionContentDetails.REMOVED).count == 60


def test_postgresql_parameter_limit(db, repository):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I split this test off because in its current state it:

A) is flaky and seems to get stuck sometimes
B) doesn't seem to fail when the workaround is reverted, which means it's not a complete test

@dralley
Copy link
Contributor Author

dralley commented Feb 19, 2026

Triggering the original issue is apparently super conditional, because sometimes the keys get embedded within the query string itself instead of being treated as parameters.

Not worth spending more time on this until we run into this in the wild.

@dralley dralley closed this Feb 19, 2026
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

Comments