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