From 699c51b2862b067f05956e8d66bf60a2fca44054 Mon Sep 17 00:00:00 2001 From: Paulo Janotti Date: Fri, 13 Sep 2024 14:37:01 -0700 Subject: [PATCH] Revert "[chore] Force require.EventuallyWithT to fail properly (#35032)" This reverts commit 466b86e246e65e686c181a46d544c5dfd6367acc. --- receiver/windowseventlogreceiver/receiver_windows_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/receiver/windowseventlogreceiver/receiver_windows_test.go b/receiver/windowseventlogreceiver/receiver_windows_test.go index b4e3653864bb..c16feeae0355 100644 --- a/receiver/windowseventlogreceiver/receiver_windows_test.go +++ b/receiver/windowseventlogreceiver/receiver_windows_test.go @@ -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