Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ferglor committed Jun 10, 2024
1 parent c711079 commit e72f895
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e72f895

Please sign in to comment.