Skip to content
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

Harden file integrity flaky test #6907

Merged
merged 1 commit into from
Apr 30, 2018

Conversation

adriansr
Copy link
Contributor

The file integrity system test depends on auditbeat's file output to validate functionality. This output is sometimes too slow and causes random CI failures.

This patch makes sure that all the required events are written to the file output before stopping auditbeat.


I'm leaving this here so it can be merged if we see any flakiness in the file_integrity test. I saw the original test fail under Linux when run enough times in a loop, always with Dir '{0}' not found.

Related to #6893

@ruflin
Copy link
Collaborator

ruflin commented Apr 20, 2018

This will need make fmt to based the intake job.

@adriansr adriansr force-pushed the fix/auditbeat/6864_flaky_test branch from 637cf0b to cbd6def Compare April 20, 2018 13:55
Copy link
Collaborator

@ruflin ruflin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WFG

@adriansr I assume if this goes green, wen can merge it anyways?

@ruflin
Copy link
Collaborator

ruflin commented Apr 20, 2018

jenkins, test this

@adriansr
Copy link
Contributor Author

It failed under Windows, will have to test it more

The file integrity system test depends on auditbeat's file output to
validate functionality. This output is sometimes too slow and causes
random CI failures.

This patch makes sure that all the required events are written to the
file output before stopping auditbeat.
@adriansr adriansr force-pushed the fix/auditbeat/6864_flaky_test branch from cbd6def to 9ba140a Compare April 20, 2018 18:37
@adriansr
Copy link
Contributor Author

@ruflin it can be merged

@ruflin ruflin merged commit 3044f7c into elastic:master Apr 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants