Skip to content

Commit 245323c

Browse files
authored
cmd/protoc-gen-go-grpc: remove replace and skip test that requires it for now (#7451)
1 parent 3eb0145 commit 245323c

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

cmd/protoc-gen-go-grpc/go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,3 @@ require (
1313
golang.org/x/text v0.16.0 // indirect
1414
google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117 // indirect
1515
)
16-
17-
replace google.golang.org/grpc => ../..

cmd/protoc-gen-go-grpc/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@ golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4=
88
golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI=
99
google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117 h1:1GBuWVLM/KMVUv1t1En5Gs+gFZCNd360GGb4sSxtrhU=
1010
google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
11+
google.golang.org/grpc v1.65.0 h1:bs/cUb4lp1G5iImFFd3u5ixQzweKizoZJAwBNLR42lc=
12+
google.golang.org/grpc v1.65.0/go.mod h1:WgYC2ypjlB0EiQi6wdKixMqukr6lBc0Vo+oOgjrM5ZQ=
1113
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
1214
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=

cmd/protoc-gen-go-grpc/unimpl_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,16 @@ type unimplEmbeddedByValue struct {
3434
}
3535

3636
func TestUnimplementedEmbedding(t *testing.T) {
37+
t.Skip("Skip until next grpc release includes panic during registration.")
38+
3739
// Embedded by value, this should succeed.
3840
testgrpc.RegisterTestServiceServer(grpc.NewServer(), &unimplEmbeddedByValue{})
3941
defer func() {
4042
if recover() == nil {
4143
t.Fatalf("Expected panic; received none")
4244
}
4345
}()
46+
4447
// Embedded by pointer, this should panic.
4548
testgrpc.RegisterTestServiceServer(grpc.NewServer(), &unimplEmbeddedByPointer{})
4649
}

0 commit comments

Comments
 (0)