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

gRPC channel stays open after test #1054

Closed
fedinskiy opened this issue Feb 27, 2024 · 0 comments · Fixed by #1272
Closed

gRPC channel stays open after test #1054

fedinskiy opened this issue Feb 27, 2024 · 0 comments · Fixed by #1272

Comments

@fedinskiy
Copy link
Contributor

Method grpcChannel[1] creates managed channel but doesn't close it afterwards and doesn't expose shutdown method of that channel. Because of that, if we run several test classes in a row, we get warning, that "previous channel was garbage collected without being shut down!".

[1] https://github.com/quarkus-qe/quarkus-test-framework/blob/main/quarkus-test-service-grpc/src/main/java/io/quarkus/test/bootstrap/GrpcService.java#L9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant