-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Flaky Test]: TestActionDispatcher/Dispatch_multiples_events_returns_one_error – Expected error #4937
Comments
Pinging @elastic/elastic-agent (Team:Elastic-Agent) |
Happens only on Mac, there are multiple occurrences, at least in 2 more builds: |
Given the long times for the unit tests run on Mac for the builds where It failed, I guess that the 200 ms sleeps we have are not enough (in a well designed unit test we should not rely on time.Sleep to make things work but it's at least marked as a workaround in code) elastic-agent/internal/pkg/agent/application/dispatcher/dispatcher_test.go Lines 384 to 400 in 1a05982
These should probably replaced by longer timeouts in the |
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
Failing test case
TestActionDispatcher/Dispatch_multiples_events_returns_one_error
Error message
dispatcher_test.go:393: Expected error
Build
https://buildkite.com/elastic/elastic-agent/builds/9615#0190110f-0b1c-45ba-81d9-c1406e137e09
OS
Mac
Stacktrace and notes
The text was updated successfully, but these errors were encountered: