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/reconciler/reconciler_test.go')
-rw-r--r--internal/praefect/reconciler/reconciler_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/praefect/reconciler/reconciler_test.go b/internal/praefect/reconciler/reconciler_test.go
index 230447d88..10b06b709 100644
--- a/internal/praefect/reconciler/reconciler_test.go
+++ b/internal/praefect/reconciler/reconciler_test.go
@@ -1055,16 +1055,16 @@ func TestReconciler(t *testing.T) {
t.Helper()
runCtx, cancelRun := context.WithCancel(ctx)
- var stopped, resetted bool
+ var stopped, reset bool
ticker := helper.NewManualTicker()
ticker.StopFunc = func() { stopped = true }
ticker.ResetFunc = func() {
- if resetted {
+ if reset {
cancelRun()
return
}
- resetted = true
+ reset = true
ticker.Tick()
}
@@ -1079,7 +1079,7 @@ func TestReconciler(t *testing.T) {
require.Equal(t, context.Canceled, reconciler.Run(runCtx, ticker))
require.True(t, stopped)
- require.True(t, resetted)
+ require.True(t, reset)
}
for vs, repos := range tc.deletedRepositories {