We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1805900 commit 61b7baaCopy full SHA for 61b7baa
stream_test.go
@@ -26,8 +26,9 @@ import (
26
"google.golang.org/grpc/codes"
27
"google.golang.org/grpc/internal/grpctest"
28
"google.golang.org/grpc/internal/stubserver"
29
- "google.golang.org/grpc/interop/grpc_testing"
30
"google.golang.org/grpc/status"
+
31
+ testgrpc "google.golang.org/grpc/interop/grpc_testing"
32
)
33
34
const defaultTestTimeout = 10 * time.Second
@@ -42,7 +43,7 @@ func Test(t *testing.T) {
42
43
44
func (s) TestStream_Header_TrailersOnly(t *testing.T) {
45
ss := stubserver.StubServer{
- FullDuplexCallF: func(stream grpc_testing.TestService_FullDuplexCallServer) error {
46
+ FullDuplexCallF: func(stream testgrpc.TestService_FullDuplexCallServer) error {
47
return status.Errorf(codes.NotFound, "a test error")
48
},
49
}
0 commit comments