diff options
Diffstat (limited to 'internal/service/remote/find_remote_root_ref_test.go')
-rw-r--r-- | internal/service/remote/find_remote_root_ref_test.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/internal/service/remote/find_remote_root_ref_test.go b/internal/service/remote/find_remote_root_ref_test.go index b26037ea5..e44b79748 100644 --- a/internal/service/remote/find_remote_root_ref_test.go +++ b/internal/service/remote/find_remote_root_ref_test.go @@ -4,13 +4,14 @@ import ( "testing" "github.com/stretchr/testify/require" + "gitlab.com/gitlab-org/gitaly/internal/config" "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/proto/go/gitalypb" "google.golang.org/grpc/codes" ) func TestFindRemoteRootRefSuccess(t *testing.T) { - serverSocketPath, stop := runRemoteServiceServer(t) + serverSocketPath, stop := runRemoteServiceServer(t, config.Config.Storages) defer stop() client, conn := NewRemoteClient(t, serverSocketPath) @@ -29,7 +30,7 @@ func TestFindRemoteRootRefSuccess(t *testing.T) { } func TestFindRemoteRootRefFailedDueToValidation(t *testing.T) { - serverSocketPath, stop := runRemoteServiceServer(t) + serverSocketPath, stop := runRemoteServiceServer(t, config.Config.Storages) defer stop() client, conn := NewRemoteClient(t, serverSocketPath) @@ -77,7 +78,7 @@ func TestFindRemoteRootRefFailedDueToValidation(t *testing.T) { } func TestFindRemoteRootRefFailedDueToInvalidRemote(t *testing.T) { - serverSocketPath, stop := runRemoteServiceServer(t) + serverSocketPath, stop := runRemoteServiceServer(t, config.Config.Storages) defer stop() client, conn := NewRemoteClient(t, serverSocketPath) |