Skip to content

Commit 61b7baa

Browse files
authored
grpc_test: rename import for grpc_testing (#6594)
1 parent 1805900 commit 61b7baa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

stream_test.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ import (
2626
"google.golang.org/grpc/codes"
2727
"google.golang.org/grpc/internal/grpctest"
2828
"google.golang.org/grpc/internal/stubserver"
29-
"google.golang.org/grpc/interop/grpc_testing"
3029
"google.golang.org/grpc/status"
30+
31+
testgrpc "google.golang.org/grpc/interop/grpc_testing"
3132
)
3233

3334
const defaultTestTimeout = 10 * time.Second
@@ -42,7 +43,7 @@ func Test(t *testing.T) {
4243

4344
func (s) TestStream_Header_TrailersOnly(t *testing.T) {
4445
ss := stubserver.StubServer{
45-
FullDuplexCallF: func(stream grpc_testing.TestService_FullDuplexCallServer) error {
46+
FullDuplexCallF: func(stream testgrpc.TestService_FullDuplexCallServer) error {
4647
return status.Errorf(codes.NotFound, "a test error")
4748
},
4849
}

0 commit comments

Comments
 (0)