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:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2021-08-11 14:35:15 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2021-08-12 15:11:32 +0300
commit64d4e377d6f0ae6381ef72af7c3c490f63641cc9 (patch)
tree0536111521bfa00e7e4ca4446da11e76413c3f3d /cmd/gitaly-ssh
parent610cb86322add2e0876374e87df773ca5323beb6 (diff)
testhelper: Rename `ConfigureGitalySSHBin()`
Rename `ConfigureGitalySSHBin()` to `BuildGitalySSH()`: this highlights more clearly that the intention of the function is to build a command in contrast to configuring the command.
Diffstat (limited to 'cmd/gitaly-ssh')
-rw-r--r--cmd/gitaly-ssh/auth_test.go2
-rw-r--r--cmd/gitaly-ssh/upload_pack_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/gitaly-ssh/auth_test.go b/cmd/gitaly-ssh/auth_test.go
index 0d0529441..3f59bdb5c 100644
--- a/cmd/gitaly-ssh/auth_test.go
+++ b/cmd/gitaly-ssh/auth_test.go
@@ -33,7 +33,7 @@ import (
func TestConnectivity(t *testing.T) {
cfg, repo, _ := testcfg.BuildWithRepo(t)
- testhelper.ConfigureGitalySSHBin(t, cfg)
+ testhelper.BuildGitalySSH(t, cfg)
testhelper.BuildGitalyHooks(t, cfg)
cwd, err := os.Getwd()
diff --git a/cmd/gitaly-ssh/upload_pack_test.go b/cmd/gitaly-ssh/upload_pack_test.go
index 29baa9633..2037b3227 100644
--- a/cmd/gitaly-ssh/upload_pack_test.go
+++ b/cmd/gitaly-ssh/upload_pack_test.go
@@ -25,7 +25,7 @@ func TestVisibilityOfHiddenRefs(t *testing.T) {
defer cancel()
cfg, repo, repoPath := testcfg.BuildWithRepo(t)
- testhelper.ConfigureGitalySSHBin(t, cfg)
+ testhelper.BuildGitalySSH(t, cfg)
testhelper.BuildGitalyHooks(t, cfg)
socketPath := testhelper.GetTemporaryGitalySocketFileName(t)