[Flaky Test] metricbeat/module/system/process TestFetchDegradeOnPartial #42809
Labels
flaky-test
Unstable or unreliable test cases.
Team:Elastic-Agent-Data-Plane
Label for the Agent Data Plane team
Flaky Test
It seems on CI the test isn't being able to fetch any event. Perhaps it should run as admin to have more permission or try more times. Run it on a
requere.Eventually
to ensure at least a event is fetched.The panic is a bug in the test, it does not check if there is any event before accessing it:
https://github.com/AndersonQ/beats/blob/7a2f8d45744922c25d372482824641b3bde3790b/metricbeat/module/system/process/process_test.go#L80-L81
Stack Trace
The text was updated successfully, but these errors were encountered: