Backport(v1.19): test_supervisor: fix flaky tests for Win32 event (#5174) #5176
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport #5174
Which issue(s) this PR fixes:
This patch will fix following failures on Windows with old Ruby (3.0, 2.7).
https://github.com/fluent/fluentd/actions/runs/19950323545/job/57208741261
What this PR does / why we need it:
It seems we need to wait a bit to reliably capture events as logs.
Similar to following codes, this also includes sleep.
fluentd/test/test_supervisor.rb
Lines 417 to 421 in 6d26f8d
Docs Changes:
N/A
Release Note:
N/A
Which issue(s) this PR fixes:
Fixes #
What this PR does / why we need it:
Docs Changes:
Release Note: