From e72f8950f8ac4b1170bae5ae64460f175cb42055 Mon Sep 17 00:00:00 2001 From: Fergal Gribben Date: Mon, 10 Jun 2024 23:38:14 +0100 Subject: [PATCH] Lint --- .../ocr2keeper/evmregistry/v21/logprovider/provider_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/services/ocr2/plugins/ocr2keeper/evmregistry/v21/logprovider/provider_test.go b/core/services/ocr2/plugins/ocr2keeper/evmregistry/v21/logprovider/provider_test.go index 836714ace19..b93e27b0aba 100644 --- a/core/services/ocr2/plugins/ocr2keeper/evmregistry/v21/logprovider/provider_test.go +++ b/core/services/ocr2/plugins/ocr2keeper/evmregistry/v21/logprovider/provider_test.go @@ -1984,11 +1984,8 @@ func TestLogEventProvider_GetLatestPayloads(t *testing.T) { assert.Equal(t, 1000, countLogs(bufV1.queues["5"].logs)) for i := 0; i < 100; i++ { - latestPayloads, err := provider.GetLatestPayloads(ctx) + _, err = provider.GetLatestPayloads(ctx) assert.NoError(t, err) - - // we dequeue a maximum of 10 logs - assert.Equal(t, 10, len(latestPayloads)) } // the dequeue is evenly distributed across the 5 upkeeps