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

[Rollups] Fix API integration tests #186079

Merged

Conversation

ElenaStoeva
Copy link
Contributor

@ElenaStoeva ElenaStoeva commented Jun 12, 2024

Fixes #183928
Fixes #184073
Fixes #184081
Fixes #184128

Summary

This PR fixes the failing Rollup API integration tests. The reason for the failures is that, since 8.15, Es doesn't allow creating a new rollup job if there is no existing rollup usage in the cluster, where rollup usage is considered rollup jobs or rollup indices. To fix the tests, we create a mock rollup index which essentially is an index that has a _meta mappings property with rollup information.

Flaky test runner build x200: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/6296 (there are some failure but they are not related to rollups)

@ElenaStoeva ElenaStoeva added Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more release_note:skip Skip the PR/issue when compiling release notes Feature:Rollups labels Jun 12, 2024
@ElenaStoeva ElenaStoeva self-assigned this Jun 12, 2024
@ElenaStoeva ElenaStoeva requested a review from a team as a code owner June 12, 2024 11:50
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-management (Team:Kibana Management)

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#6296

[❌] x-pack/test/api_integration/apis/management/config.ts: 171/200 tests passed.

see run history

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

History

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

cc @ElenaStoeva

@ElenaStoeva ElenaStoeva merged commit c23a622 into elastic:main Jun 13, 2024
17 checks passed
@kibanamachine kibanamachine added v8.15.0 backport:skip This commit does not require backporting labels Jun 13, 2024
@ElenaStoeva ElenaStoeva deleted the rollups/fix-api-integration-tests branch June 24, 2024 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment