Skip to content

Add gzip compression tests#420

Open
sullis wants to merge 1 commit into
LogNet:masterfrom
sullis:sullis/gzip-compression
Open

Add gzip compression tests#420
sullis wants to merge 1 commit into
LogNet:masterfrom
sullis:sullis/gzip-compression

Conversation

@sullis
Copy link
Copy Markdown

@sullis sullis commented Apr 21, 2026

Summary

Adds integration tests to verify gzip compression support for gRPC requests and responses.

Changes

  • GrpcGzipCompressionTest — new test class that:
    • Registers a server-side interceptor (via @GRpcGlobalInterceptor) that captures the incoming grpc-encoding header and enables gzip compression on responses
    • gzipCompressedRequestShouldSucceed — sends a gzip-compressed request using withCompression("gzip") and asserts the server received the grpc-encoding: gzip header
    • gzipCompressedResponseShouldBeDecodable — sends a gzip-compressed request, captures the response grpc-encoding header via a client interceptor, and asserts the response was also gzip-encoded

@sullis
Copy link
Copy Markdown
Author

sullis commented Apr 21, 2026

ready for review

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.

1 participant