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/gitaly/service/ssh/upload_pack_test.go')
-rw-r--r--internal/gitaly/service/ssh/upload_pack_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/gitaly/service/ssh/upload_pack_test.go b/internal/gitaly/service/ssh/upload_pack_test.go
index 2dce494db..43dd9dc87 100644
--- a/internal/gitaly/service/ssh/upload_pack_test.go
+++ b/internal/gitaly/service/ssh/upload_pack_test.go
@@ -518,8 +518,8 @@ func testUploadPackSuccessful(t *testing.T, sidechannel bool, opts ...testcfg.Op
repo, repoPath := gittest.CreateRepository(t, ctx, cfg)
- smallBlobID := gittest.WriteBlob(t, cfg, repoPath, []byte("foobar"))
- largeBlobID := gittest.WriteBlob(t, cfg, repoPath, bytes.Repeat([]byte("1"), 2048))
+ smallBlobID := localrepo.MustWriteBlob(t, repo, "", "foobar")
+ largeBlobID := localrepo.MustWriteBlob(t, repo, "", strings.Repeat("1", 2048))
// We set up the commits so that HEAD does not reference the above two blobs. If it did we'd
// fetch the blobs regardless of `--filter=blob:limit`.