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

[ES|QL] Updates the validation tests #195847

Merged
merged 5 commits into from
Oct 14, 2024

Conversation

stratoula
Copy link
Contributor

@stratoula stratoula commented Oct 11, 2024

Summary

Moves the CCS tests to its own file

Checklist

@stratoula
Copy link
Contributor Author

/ci

@stratoula stratoula marked this pull request as ready for review October 14, 2024 09:50
@stratoula stratoula requested a review from a team as a code owner October 14, 2024 09:50
@stratoula stratoula added release_note:skip Skip the PR/issue when compiling release notes v9.0.0 backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Feature:ES|QL ES|QL related features in Kibana Team:ESQL ES|QL related features in Kibana v8.16.0 labels Oct 14, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-esql (Team:ESQL)

@drewdaemon
Copy link
Contributor

Looking good but I think it would be nice if @vadimkibana reviewed.

Vadim, didn't you set up this separation between the test suite (packages/kbn-esql-validation-autocomplete/src/validation/__tests__/test_suites/validation.command.ccs.ts) and the runner (packages/kbn-esql-validation-autocomplete/src/validation/__tests__/validation.command.ccs.test.ts) so as to allow the test suite to be run in an integration test context? I don't see anywhere we are doing that... what did I miss?

In this case, we don't want to check these tests against Elasticsearch. Given that, do we need this separation?

Copy link
Contributor

Choose a reason for hiding this comment

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

probably don't need command in the name here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, I removed it!

@stratoula
Copy link
Contributor Author

/ci

Copy link
Contributor

@drewdaemon drewdaemon left a comment

Choose a reason for hiding this comment

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

Nice work! Synced with Vadim and I understand things now.

@stratoula stratoula enabled auto-merge (squash) October 14, 2024 14:46
@stratoula stratoula merged commit 36cf5ab into elastic:main Oct 14, 2024
25 checks passed
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #13 / CaseDetailsLink renders

Metrics [docs]

✅ unchanged

History

@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/11331722212

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 14, 2024
## Summary

Moves the CCS tests to its own file

### Checklist

- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

(cherry picked from commit 36cf5ab)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Oct 14, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ES|QL] Updates the validation tests
(#195847)](#195847)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Stratoula
Kalafateli","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-14T16:44:40Z","message":"[ES|QL]
Updates the validation tests (#195847)\n\n## Summary\r\n\r\nMoves the
CCS tests to its own file\r\n\r\n### Checklist\r\n\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"36cf5ab5bb4d6512b06fa9b2b7e7f4383c223b3a","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","Feature:ES|QL","Team:ESQL","v8.16.0"],"title":"[ES|QL]
Updates the validation
tests","number":195847,"url":"https://github.com/elastic/kibana/pull/195847","mergeCommit":{"message":"[ES|QL]
Updates the validation tests (#195847)\n\n## Summary\r\n\r\nMoves the
CCS tests to its own file\r\n\r\n### Checklist\r\n\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"36cf5ab5bb4d6512b06fa9b2b7e7f4383c223b3a"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195847","number":195847,"mergeCommit":{"message":"[ES|QL]
Updates the validation tests (#195847)\n\n## Summary\r\n\r\nMoves the
CCS tests to its own file\r\n\r\n### Checklist\r\n\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"36cf5ab5bb4d6512b06fa9b2b7e7f4383c223b3a"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Stratoula Kalafateli <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Feature:ES|QL ES|QL related features in Kibana release_note:skip Skip the PR/issue when compiling release notes Team:ESQL ES|QL related features in Kibana v8.16.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants