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:
authorPavlo Strokov <pstrokov@gitlab.com>2021-02-21 20:26:08 +0300
committerPavlo Strokov <pstrokov@gitlab.com>2021-02-21 20:26:08 +0300
commitd3ab3e3647a10e246defaa010efd89d563afedf2 (patch)
tree58c5f2997a893658cf6aebaab00f769bd2a30a1e /internal/gitaly/service/operations
parent3f29772a7241e66cc89608778b2411f2a3733a17 (diff)
Removal of config.Config from the buildCommand
Removal of the buildCommand function dependency on the global config.Config variable. Part of: https://gitlab.com/gitlab-org/gitaly/-/issues/2699
Diffstat (limited to 'internal/gitaly/service/operations')
-rw-r--r--internal/gitaly/service/operations/testhelper_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/gitaly/service/operations/testhelper_test.go b/internal/gitaly/service/operations/testhelper_test.go
index 467c1538d..f0d48f4a2 100644
--- a/internal/gitaly/service/operations/testhelper_test.go
+++ b/internal/gitaly/service/operations/testhelper_test.go
@@ -55,9 +55,9 @@ func testMain(m *testing.M) int {
config.Config.GitlabShell.Dir = gitlabShellDir
- testhelper.ConfigureGitalySSH()
- testhelper.ConfigureGitalyGit2Go()
- testhelper.ConfigureGitalyHooksBinary()
+ testhelper.ConfigureGitalySSH(config.Config.BinDir)
+ testhelper.ConfigureGitalyGit2Go(config.Config.BinDir)
+ testhelper.ConfigureGitalyHooksBinary(config.Config.BinDir)
defer func(token string) {
config.Config.Auth.Token = token