Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Stack Monitoring] implement baseline elasticsearch api tests for pac…
…kage and metricbeat data (#149161) ### Summary Part of #148303 Closes #146067 Closes #146068 I investigated the failing tests but couldn't get to the root cause quickly enough so I took the opportunity to port the tests to the [monitoring_api_integration](https://github.com/elastic/kibana/tree/main/x-pack/test/monitoring_api_integration) suite. This reimplements all the existing tests (plus missing ones for the `ml_jobs` api) with fresh data. By using the new testing approach we can remove the archived mappings which greatly reduce execution times. ### Testing - The suite was executed against by the [flaky test runner](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1804) multiple times with no failures - Test data is bundled in two archives (one for metricbeat and one for package data) and can be loaded to verify their content: `node scripts/es_archiver.js load x-pack/test/monitoring_api_integration/archives/elasticsearch/single_node/(package|metricbeat) --es-url=http://elastic:changeme@localhost:9200 --kibana-url=http://elastic:changeme@localhost:5601` --------- Co-authored-by: Kibana Machine <[email protected]>
- Loading branch information