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

[test/telemetry] relax stats assertion #31536

Merged
merged 1 commit into from
Feb 25, 2019
Merged

Conversation

jbudz
Copy link
Member

@jbudz jbudz commented Feb 19, 2019

Currently this test does an exact match on expected metrics. These metrics depend on data from external services and change independent of Kibana. Instead of allowing for an exact match we test that the current list is a subset of the expected list. We can relax it further if it becomes an issue, but we haven't had any tests fail in the opposite direction yet so I think its a modest start.

@jbudz jbudz added review Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc labels Feb 19, 2019
@jbudz
Copy link
Member Author

jbudz commented Feb 19, 2019

retest

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@jbudz jbudz added the Team:Monitoring Stack Monitoring team label Feb 21, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/stack-monitoring

@jbudz
Copy link
Member Author

jbudz commented Feb 21, 2019

If anyone gets time, I know platform owns telemetry but the code is sorta shared. Sorry for all the pings

Copy link
Contributor

@tylersmalley tylersmalley left a comment

Choose a reason for hiding this comment

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

LGTM - this test has created lots of issues, hopefully this change will help that a bit.

@jbudz jbudz merged commit 52b3522 into elastic:master Feb 25, 2019
jbudz added a commit that referenced this pull request Feb 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:fix review Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:Monitoring Stack Monitoring team v7.2.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants