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/praefect/repocleaner/repository_test.go')
-rw-r--r--internal/praefect/repocleaner/repository_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/praefect/repocleaner/repository_test.go b/internal/praefect/repocleaner/repository_test.go
index 94501ea6c..3d45a27c3 100644
--- a/internal/praefect/repocleaner/repository_test.go
+++ b/internal/praefect/repocleaner/repository_test.go
@@ -163,13 +163,13 @@ func TestRunner_Run(t *testing.T) {
var iteration int32
runner := NewRunner(cfg, logger, praefect.StaticHealthChecker{virtualStorage: []string{storage1, storage2, storage3}}, nodeSet.Connections(), storageCleanup, storageCleanup, actionStub{
- PerformMethod: func(ctx context.Context, argVirtualStoage, argStorage string, notExisting []string) error {
+ PerformMethod: func(ctx context.Context, argVirtualStorage, argStorage string, notExisting []string) error {
// There should be three iterations, as each storage has
// one repository that is unused by praefect.
atomic.AddInt32(&iteration, 1)
i := atomic.LoadInt32(&iteration)
- assert.Equal(t, virtualStorage, argVirtualStoage)
+ assert.Equal(t, virtualStorage, argVirtualStorage)
assert.Equal(t, []string{"repo-4.git"}, notExisting)
if i == 3 {