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/create_test.go')
-rw-r--r--internal/service/repository/create_test.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/internal/service/repository/create_test.go b/internal/service/repository/create_test.go
index 9fe052bb5..22e684bec 100644
--- a/internal/service/repository/create_test.go
+++ b/internal/service/repository/create_test.go
@@ -9,6 +9,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
+ "gitlab.com/gitlab-org/gitaly/internal/config"
"gitlab.com/gitlab-org/gitaly/internal/helper"
"gitlab.com/gitlab-org/gitaly/internal/testhelper"
"gitlab.com/gitlab-org/gitaly/proto/go/gitalypb"
@@ -16,7 +17,7 @@ import (
)
func TestCreateRepositorySuccess(t *testing.T) {
- serverSocketPath, stop := runRepoServer(t)
+ serverSocketPath, stop := runRepoServer(t, config.Config.Storages)
defer stop()
client, conn := newRepositoryClient(t, serverSocketPath)
@@ -49,7 +50,7 @@ func TestCreateRepositorySuccess(t *testing.T) {
}
func TestCreateRepositoryFailure(t *testing.T) {
- serverSocketPath, stop := runRepoServer(t)
+ serverSocketPath, stop := runRepoServer(t, config.Config.Storages)
defer stop()
client, conn := newRepositoryClient(t, serverSocketPath)
@@ -74,7 +75,7 @@ func TestCreateRepositoryFailure(t *testing.T) {
}
func TestCreateRepositoryFailureInvalidArgs(t *testing.T) {
- serverSocketPath, stop := runRepoServer(t)
+ serverSocketPath, stop := runRepoServer(t, config.Config.Storages)
defer stop()
client, conn := newRepositoryClient(t, serverSocketPath)
@@ -104,7 +105,7 @@ func TestCreateRepositoryFailureInvalidArgs(t *testing.T) {
}
func TestCreateRepositoryIdempotent(t *testing.T) {
- serverSocketPath, stop := runRepoServer(t)
+ serverSocketPath, stop := runRepoServer(t, config.Config.Storages)
defer stop()
client, conn := newRepositoryClient(t, serverSocketPath)