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

Fixed performance-tests. #3096

Merged
merged 1 commit into from
Apr 4, 2023
Merged

Fixed performance-tests. #3096

merged 1 commit into from
Apr 4, 2023

Conversation

ggainey
Copy link
Contributor

@ggainey ggainey commented Apr 4, 2023

Moved fixtures shared between 'functional' and 'performance' up one level.

Fixed some problems w/ the tests themselves as well.

fixes #3095

@ggainey ggainey requested review from gerrod3 and lubosmj April 4, 2023 12:05
Moved fixtures shared between 'functional' and 'performance' up
one level.

Fixed some problems w/ the tests themselves as well.

fixes pulp#3095
Copy link
Member

@lubosmj lubosmj left a comment

Choose a reason for hiding this comment

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

We can also move the whole conftest.py file to pulp_rpm/tests/, not just the subset of fixtures. It might be hard in the future to look for the API fixtures.

@ggainey
Copy link
Contributor Author

ggainey commented Apr 4, 2023

We can also move the whole conftest.py file to pulp_rpm/tests/, not just the subset of fixtures. It might be hard in the future to look for the API fixtures.

I thought about that, but was swayed by commentary from Somewhere On The Net around "performance is better when you keep fixtures as 'close to' the tests that use them as possible". I could easily just move the entire functional/conftest.py up to test/conftest.py. Should I do that here? In a fresh PR? Or, just leave it be?

@lubosmj
Copy link
Member

lubosmj commented Apr 4, 2023

Let it be. Let's merge this PR. I need this PR for resolving merge conflicts.

@ggainey ggainey merged commit 9563d5f into pulp:main Apr 4, 2023
@ggainey ggainey deleted the fix-perf-tests branch July 18, 2023 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Performance tests are broken.
4 participants