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

ref: set relay fixture scope to module instead of session #77703

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

asottile-sentry
Copy link
Member

this should be a reasonable balance between the current state (relay lasting for the whole session and causing flakiness) and function (setting up and tearing down the container continually)

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Sep 18, 2024
@asottile-sentry asottile-sentry marked this pull request as ready for review September 18, 2024 16:42
@asottile-sentry asottile-sentry requested review from a team September 18, 2024 16:42
@asottile-sentry
Copy link
Member Author

test output definitely seems a lot quieter after this change

Copy link
Member

@jjbayer jjbayer left a comment

Choose a reason for hiding this comment

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

Does it make tests any slower?

@asottile-sentry
Copy link
Member Author

Does it make tests any slower?

potentially a little if there are multiple relay test modules per suite -- but not by much if at all (and I'd bet that the loss there is dwarfed by the gain of wasted cpu handling the projectconfigs requests)

@asottile-sentry asottile-sentry merged commit 5df303f into master Sep 19, 2024
51 checks passed
@asottile-sentry asottile-sentry deleted the asottile-relay-server-module-scope branch September 19, 2024 13:11
harshithadurai pushed a commit that referenced this pull request Sep 19, 2024
this should be a reasonable balance between the current state (relay
lasting for the whole session and causing flakiness) and function
(setting up and tearing down the container continually)

<!-- Describe your PR here. -->
harshithadurai pushed a commit that referenced this pull request Sep 19, 2024
this should be a reasonable balance between the current state (relay
lasting for the whole session and causing flakiness) and function
(setting up and tearing down the container continually)

<!-- Describe your PR here. -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants