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:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-01-04 20:03:22 +0300
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-01-04 20:10:19 +0300
commitedb4782d102a835f210cd135b546fef80e082902 (patch)
tree7d9dba55eee99335f5f544041c370a9612a4f86c /internal/praefect/coordinator_test.go
parentb43eeb6df9058112468f1e1373f1e51f85bb810a (diff)
Fix lint issues with c1064ad30
In c1064ad30 (Merge branch 'datastore_create_repo' into 'master', 2021-01-04) I merged a commit which ran afoul of the new checks in 20ef26439 (golangci: Enable error and documentation linters, 2020-12-17). I think the CI was passing when I looked at the MR and it was based off an earlier master, but I'm not 100% sure. In any case, this fixes it. See also my 149d56118 (golangci: fix linting issues on "master", 2020-12-24) for previous fights with the linter.
Diffstat (limited to 'internal/praefect/coordinator_test.go')
-rw-r--r--internal/praefect/coordinator_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/praefect/coordinator_test.go b/internal/praefect/coordinator_test.go
index 627e137dd..78310eed1 100644
--- a/internal/praefect/coordinator_test.go
+++ b/internal/praefect/coordinator_test.go
@@ -684,7 +684,8 @@ func TestStreamDirector_repo_creation(t *testing.T) {
replEventWait.Add(1) // expected only one event to be created
// this call creates new events in the queue and simulates usual flow of the update operation
- streamParams.RequestFinalizer()
+ err = streamParams.RequestFinalizer()
+ require.NoError(t, err)
replEventWait.Wait() // wait until event persisted (async operation)
events, err := queueInterceptor.Dequeue(ctx, "praefect", "praefect-internal-2", 10)