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

Fixes metricbeat system test flakyness with better expectations #8052

Merged
merged 1 commit into from
Aug 23, 2018

Conversation

andrewvc
Copy link
Contributor

This patch changes the expectations from looking at output and pending stop operations to looking at the number of modules currently running. Publishing to a pipeline is async, so a module can receive a stop send a message, then actually stop. This should make things more robust.

Fixes #7843

@andrewvc andrewvc added review Metricbeat Metricbeat flaky-test Unstable or unreliable test cases. labels Aug 22, 2018
@andrewvc andrewvc requested a review from andrewkroh August 22, 2018 17:08
This patch changes the expectations from looking at output and pending stop operations to looking at the number of modules currently running. Publishing to a pipeline is async, so a module can receive a stop send a message, then actually stop. This should make things more robust.
@andrewvc andrewvc force-pushed the fix-mb-start-stop-tests branch from 5c3e634 to e5919d9 Compare August 22, 2018 17:13
Copy link
Member

@andrewkroh andrewkroh left a comment

Choose a reason for hiding this comment

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

LGTM

@andrewkroh andrewkroh merged commit f30eb0c into elastic:master Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky-test Unstable or unreliable test cases. Metricbeat Metricbeat review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants