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

[Telemetry][API Integration tests] Ensure .kibana index exists #76662

Conversation

afharo
Copy link
Member

@afharo afharo commented Sep 3, 2020

Summary

This PR ensures the .kibana index exists before testing the telemetry and /api/stats endpoints. Both of them use usageCollection and most collectors are reading from that index, leading to failures in the logs that can confuse us when troubleshooting any broken tests.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@afharo afharo added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.10.0 Feature:Functional Testing labels Sep 3, 2020
@afharo afharo marked this pull request as ready for review September 3, 2020 17:05
@afharo afharo requested a review from a team September 3, 2020 17:06
@afharo afharo force-pushed the telemetry/api-integration-tests/ensure-.kibana-index branch from df0e4be to b2f6d27 Compare September 3, 2020 17:23
@afharo
Copy link
Member Author

afharo commented Sep 7, 2020

@elasticmachine merge upstream

@afharo
Copy link
Member Author

afharo commented Sep 9, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Contributor

@TinaHeiligers TinaHeiligers left a comment

Choose a reason for hiding this comment

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

LGTM

@afharo afharo merged commit ad62fa0 into elastic:master Sep 10, 2020
@afharo afharo deleted the telemetry/api-integration-tests/ensure-.kibana-index branch September 10, 2020 11:45
afharo added a commit that referenced this pull request Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Functional Testing release_note:skip Skip the PR/issue when compiling release notes v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Telemetry][API Integration tests] Missing .kibana index might be testing unwanted behaviour
4 participants