Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/service/repository/fetch_test.go')
-rw-r--r--internal/service/repository/fetch_test.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/internal/service/repository/fetch_test.go b/internal/service/repository/fetch_test.go
index a20160ad0..4d1d9756d 100644
--- a/internal/service/repository/fetch_test.go
+++ b/internal/service/repository/fetch_test.go
@@ -4,7 +4,6 @@ import (
"net"
"os"
"testing"
- "time"
"github.com/stretchr/testify/require"
"gitlab.com/gitlab-org/gitaly-proto/go/gitalypb"
@@ -154,9 +153,6 @@ func TestFetchFullServerRequiresAuthentication(t *testing.T) {
connOpts := []grpc.DialOption{
grpc.WithInsecure(),
- grpc.WithDialer(func(addr string, timeout time.Duration) (net.Conn, error) {
- return net.DialTimeout("unix", addr, timeout)
- }),
}
conn, err := grpc.Dial(serverSocketPath, connOpts...)
@@ -197,5 +193,5 @@ func runFullServer(t *testing.T) (*grpc.Server, string) {
go server.Serve(listener)
- return server, serverSocketPath
+ return server, "unix://" + serverSocketPath
}