Skip to content

test: Fix test timeouts due to contexts created too early #7242

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

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

mafredri
Copy link
Member

@mafredri mafredri commented Apr 21, 2023

We shouldn't create/start contexts before test setup is complete (i.e. before they're needed).

Can we lint this? Like if something is between ctx and use of ctx (except defer cancel), then error?

@mafredri mafredri merged commit 6f06f8d into main Apr 21, 2023
@mafredri mafredri deleted the mafredri/test-fix-timeouts branch April 21, 2023 14:32
@github-actions github-actions bot locked and limited conversation to collaborators Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants