diff --git a/pkg/netconf/netconf_test.go b/pkg/netconf/netconf_test.go index bf469b5..fe1084f 100644 --- a/pkg/netconf/netconf_test.go +++ b/pkg/netconf/netconf_test.go @@ -1796,7 +1796,7 @@ func fakeSendSetupHostInterfaceErr(request *proto.SetupHostInterfaceRequest) err } func fakeGrpcDial(target string, opts ...grpc.DialOption) (*grpc.ClientConn, error) { - return grpc.DialContext(context.TODO(), "", grpc.WithTransportCredentials(insecure.NewCredentials())) + return grpc.DialContext(context.TODO(), "foo.bar:54321", grpc.WithTransportCredentials(insecure.NewCredentials())) } func fakeGrpcDialErr(target string, opts ...grpc.DialOption) (*grpc.ClientConn, error) { diff --git a/pkg/utils/utils_test.go b/pkg/utils/utils_test.go index 14296d1..8125a1b 100644 --- a/pkg/utils/utils_test.go +++ b/pkg/utils/utils_test.go @@ -1056,7 +1056,7 @@ func (fs *FakeFilesystem) Use(tmpDir string) (string, func(), error) { } func fakeGrpcDial(target string, opts ...grpc.DialOption) (*grpc.ClientConn, error) { - return grpc.DialContext(context.TODO(), "", grpc.WithTransportCredentials(insecure.NewCredentials())) + return grpc.DialContext(context.TODO(), "foo.bar:54321", grpc.WithTransportCredentials(insecure.NewCredentials())) } func fakeGrpcDialErr(target string, opts ...grpc.DialOption) (*grpc.ClientConn, error) {