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

Prefer t.Cleanup to close test servers #573

Merged
merged 1 commit into from
Aug 25, 2023
Merged

Prefer t.Cleanup to close test servers #573

merged 1 commit into from
Aug 25, 2023

Conversation

akshayjshah
Copy link
Member

Since we're requiring all tests to be parallelized, we should use
t.Cleanup instead of a simple defer. The latter can execute before the
parallel subtests run.

Since we're requiring all tests to be parallelized, we should use
`t.Cleanup` instead of a simple defer. The latter can execute before the
parallel subtests run.
@akshayjshah akshayjshah requested a review from jhump August 25, 2023 04:36
@akshayjshah akshayjshah merged commit 1fb89e3 into main Aug 25, 2023
@akshayjshah akshayjshah deleted the ajs/flake branch August 25, 2023 12:20
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.

2 participants