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

Fix flaky service_integration_windows_test #11662

Merged
merged 2 commits into from
Apr 15, 2019

Conversation

narph
Copy link
Contributor

@narph narph commented Apr 5, 2019

Some services can change state before reader.Read() call is executed which will result in a test faillure.
Fix test by introducing a confidence factor and enriching the error message with the state-changed service details.

Fixes #8880 and #7977

@narph narph requested a review from a team as a code owner April 5, 2019 10:23
@narph narph added Team:Integrations Label for the Integrations team :Windows review Metricbeat Metricbeat and removed Metricbeat Metricbeat labels Apr 5, 2019
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.

Thanks for improving this test. Just a really minor change request from me.

CHANGELOG.next.asciidoc Show resolved Hide resolved
@narph narph requested a review from andrewkroh April 5, 2019 14:30
@ruflin
Copy link
Member

ruflin commented Apr 8, 2019

jenkins, test this

@narph narph force-pushed the fix-service-integration-windows-test branch from 911fc0a to 87b5d0c Compare April 11, 2019 08:37
@narph
Copy link
Contributor Author

narph commented Apr 11, 2019

jenkins, test this

narph and others added 2 commits April 15, 2019 09:40
Some services can change state before reader.Read() call is executed which will result in a test faillure.
Fix test by introducing a confidence factor and enriching the error message with the state-changed service details.

Fixes elastic#8880 and elastic#7977
…test.go

Co-Authored-By: narph <mariana@elastic.co>
@narph narph force-pushed the fix-service-integration-windows-test branch from 87b5d0c to 2abafae Compare April 15, 2019 07:42
@narph narph merged commit 88b88f7 into elastic:master Apr 15, 2019
@narph narph deleted the fix-service-integration-windows-test branch April 15, 2019 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review Team:Integrations Label for the Integrations team :Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flaky test: service_integration_windows_test.go
4 participants