Draft: Resolve "Improve test coverage for Elasticsearch"
What does this MR do and why?
- Connects to Elastic and verifies it can run a few different queries and get a non-error result.
- Follows check-elastic-key-permissions.cjs for connecting to Elastic from a node script
- Runs the same query method as our production-facing code.
Screenshots, screen recordings, or links to review app
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
-
Configure a local GitLab Docs environment: https://gitlab.com/gitlab-org/technical-writing-group/gitlab-docs-hugo/-/blob/main/doc/setup.md. -
Make sure to run make jest-tests
or watch pipeline for success.
Merge request acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this merge request.
Closes #144
Edited by Hiru Fernando