diff --git a/protocol/grpc/server.go b/protocol/grpc/server.go index ce8fca8055a3629537cf668d43d14e7e320e0cf2..7218a7ca74c02277f60ede0d5292bd4b622343b0 100644 --- a/protocol/grpc/server.go +++ b/protocol/grpc/server.go @@ -89,7 +89,7 @@ func (s *Server) Start(url *common.URL) { if len(providerServices) == 0 { panic("provider service map is null") } - + // wait all exporter ready , then grpc.registerService waitGrpcExporter(providerServices) registerService(providerServices, server) diff --git a/test/integrate/dubbo/go-client/go.mod b/test/integrate/dubbo/go-client/go.mod index 4708eb1f0f48c10acc254880ecb6dad3a03529f2..95a0449f862f6a9081762d23cc95c60491143811 100644 --- a/test/integrate/dubbo/go-client/go.mod +++ b/test/integrate/dubbo/go-client/go.mod @@ -1,3 +1,10 @@ module github.com/apache/dubbo-go/test/integrate/dubbo/go-client go 1.13 + +require ( + github.com/apache/dubbo-go v1.5.5 + github.com/apache/dubbo-go-hessian2 v1.9.1 +) + +replace github.com/apache/dubbo-go => ../../../../../dubbo-go