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/objectpool/fetch_into_object_pool_test.go')
-rw-r--r--internal/gitaly/service/objectpool/fetch_into_object_pool_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/gitaly/service/objectpool/fetch_into_object_pool_test.go b/internal/gitaly/service/objectpool/fetch_into_object_pool_test.go
index 5cf5a65b4..252b633e7 100644
--- a/internal/gitaly/service/objectpool/fetch_into_object_pool_test.go
+++ b/internal/gitaly/service/objectpool/fetch_into_object_pool_test.go
@@ -55,13 +55,13 @@ func TestFetchIntoObjectPool_Success(t *testing.T) {
require.True(t, pool.IsValid(), "ensure underlying repository is valid")
// No problems
- testhelper.MustRunCommand(t, nil, "git", "-C", pool.FullPath(), "fsck")
+ gittest.Exec(t, cfg, "-C", pool.FullPath(), "fsck")
packFiles, err := filepath.Glob(filepath.Join(pool.FullPath(), "objects", "pack", "pack-*.pack"))
require.NoError(t, err)
require.Len(t, packFiles, 1, "ensure commits got packed")
- packContents := testhelper.MustRunCommand(t, nil, "git", "-C", pool.FullPath(), "verify-pack", "-v", packFiles[0])
+ packContents := gittest.Exec(t, cfg, "-C", pool.FullPath(), "verify-pack", "-v", packFiles[0])
require.Contains(t, string(packContents), repoCommit)
_, err = client.FetchIntoObjectPool(ctx, req)