test: use testpb alias in stream_test.go for proto messages.#8854
Merged
Pranjali-2501 merged 1 commit intogrpc:masterfrom Jan 22, 2026
Merged
test: use testpb alias in stream_test.go for proto messages.#8854Pranjali-2501 merged 1 commit intogrpc:masterfrom
Pranjali-2501 merged 1 commit intogrpc:masterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #8854 +/- ##
==========================================
+ Coverage 83.16% 83.21% +0.05%
==========================================
Files 414 414
Lines 32720 32720
==========================================
+ Hits 27210 27228 +18
+ Misses 4089 4081 -8
+ Partials 1421 1411 -10 🚀 New features to boost your workflow:
|
mbissa
pushed a commit
to mbissa/grpc-go
that referenced
this pull request
Feb 16, 2026
This change introduces a `testpb` alias for the `google.golang.org/grpc/interop/grpc_testing` import in [stream_test.go](cci:7://file:///usr/local/google/home/pranjalisaxena/import/grpc-go/stream_test.go:0:0-0:0), alongside the existing `testgrpc` alias. We update [TestUnaryClient_ServerStreamingMismatch](cci:1://file:///usr/local/google/home/pranjalisaxena/import/grpc-go/stream_test.go:72:0-146:1) to use `testpb` for Protocol Buffer message types (e.g., `StreamingOutputCallResponse`) while checking service interfaces via `testgrpc`. This distinction is necessary for compatibility with google3. RELEASE NOTES: N/A
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change introduces a
testpbalias for thegoogle.golang.org/grpc/interop/grpc_testingimport in stream_test.go, alongside the existingtestgrpcalias.We update TestUnaryClient_ServerStreamingMismatch to use
testpbfor Protocol Buffer message types (e.g.,StreamingOutputCallResponse) while checking service interfaces viatestgrpc. This distinction is necessary for compatibility with google3.RELEASE NOTES: N/A