Skip to content

[ES|QL] Updates the validation tests#195847

Merged
stratoula merged 5 commits intoelastic:mainfrom
stratoula:update-validation-tests
Oct 14, 2024
Merged

[ES|QL] Updates the validation tests#195847
stratoula merged 5 commits intoelastic:mainfrom
stratoula:update-validation-tests

Conversation

@stratoula
Copy link
Copy Markdown
Contributor

@stratoula stratoula commented Oct 11, 2024

Summary

Moves the CCS tests to its own file

Checklist

@stratoula
Copy link
Copy Markdown
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 Feature:ES|QL ES|QL related features in Kibana Team:ESQL ES|QL related features in Kibana t// v8.16.0 labels Oct 14, 2024
@elasticmachine
Copy link
Copy Markdown
Contributor

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

@drewdaemon
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

/ci

Copy link
Copy Markdown
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
@elasticmachine
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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":"efstratia.kalafateli@elastic.co"},"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 <efstratia.kalafateli@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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 t// v8.16.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants