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:
authorKim Carlbäcker <kim.carlbacker@gmail.com>2017-11-30 15:44:53 +0300
committerKim Carlbäcker <kim.carlbacker@gmail.com>2017-11-30 15:44:53 +0300
commit524e25752843882418c3fe26a46388065f4acc99 (patch)
treef5e995d5ad2db734f6196f5bbf8a7a725df4953a
parent6a31d3a12b817b476edabce54a514bd1d2c8e7c2 (diff)
parent956d86573f022782834bb89de8f89ad517402f36 (diff)
Merge branch 'zj-fix-commit-test' into 'master'
Fix test depending on shared repository See merge request gitlab-org/gitaly!468
-rw-r--r--internal/service/commit/list_commits_by_oid_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/service/commit/list_commits_by_oid_test.go b/internal/service/commit/list_commits_by_oid_test.go
index 70cb3e2a9..5be4ea9a0 100644
--- a/internal/service/commit/list_commits_by_oid_test.go
+++ b/internal/service/commit/list_commits_by_oid_test.go
@@ -5,6 +5,7 @@ import (
"testing"
pb "gitlab.com/gitlab-org/gitaly-proto/go"
+ "gitlab.com/gitlab-org/gitaly/internal/testhelper"
"github.com/stretchr/testify/require"
"golang.org/x/net/context"
@@ -17,6 +18,9 @@ func TestSuccessfulListCommitsByOidRequest(t *testing.T) {
client, conn := newCommitServiceClient(t, serverSocketPath)
defer conn.Close()
+ testRepo, _, cleanupFn := testhelper.NewTestRepo(t)
+ defer cleanupFn()
+
commits := []*pb.GitCommit{
{
Id: "bf6e164cac2dc32b1f391ca4290badcbe4ffc5fb",