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

Shutdown server gracefully in h2 transport tests #1996

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Jul 26, 2024

Motivation:

The h2 transport tests cancel the task group running them when the test has completed. Cancelling the server makes apple/swift-nio#2813 more likely to occur.

Modifications:

  • Tell the server to stop listening and let the test stop gracefully

Result:

Fewer runtime issues

Motivation:

The h2 transport tests cancel the task group running them when the test
has completed. Cancelling the server makes apple/swift-nio#2813
more likely to occur.

Modifications:

- Tell the server to stop listening and let the test stop gracefully

Result:

Fewer runtime issues
@glbrntt glbrntt requested a review from gjcairo July 26, 2024 09:19
@glbrntt glbrntt added the v2 A change for v2 label Jul 26, 2024
@glbrntt glbrntt enabled auto-merge (squash) July 26, 2024 09:24
@glbrntt glbrntt merged commit 945f7f7 into grpc:main Jul 26, 2024
14 of 17 checks passed
@glbrntt glbrntt deleted the graceful-shutdown branch July 26, 2024 09:38
clintonpi pushed a commit to clintonpi/grpc-swift that referenced this pull request Jul 29, 2024
Motivation:

The h2 transport tests cancel the task group running them when the test
has completed. Cancelling the server makes apple/swift-nio#2813
more likely to occur.

Modifications:

- Tell the server to stop listening and let the test stop gracefully

Result:

Fewer runtime issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2 A change for v2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants