Skip to content

Commit

Permalink
Revert "[chore] Force require.EventuallyWithT to fail properly (open-…
Browse files Browse the repository at this point in the history
…telemetry#35032)"

This reverts commit 466b86e.
  • Loading branch information
pjanotti authored Sep 13, 2024
1 parent 616d91a commit 699c51b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion receiver/windowseventlogreceiver/receiver_windows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ func requireExpectedLogRecords(t *testing.T, sink *consumertest.LogsSink, expect
// logs sometimes take a while to be written, so a substantial wait buffer is needed
require.EventuallyWithT(t, func(c *assert.CollectT) {
actualLogRecords = filterAllLogRecordsBySource(t, sink, expectedEventSrc)
require.Len(c, actualLogRecords, expectedEventCount)
assert.Len(c, actualLogRecords, expectedEventCount)
}, 10*time.Second, 250*time.Millisecond)

return actualLogRecords
Expand Down

0 comments on commit 699c51b

Please sign in to comment.