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

🌊 Streams: Improve integration tests #213115

Merged
merged 1 commit into from
Mar 4, 2025

Conversation

flash1293
Copy link
Contributor

@flash1293 flash1293 commented Mar 4, 2025

I noticed that a couple integration tests were not actually validating whether the documents got routed the right way (the number and string tests).

This PR fixes this by introducing a helper that can easily do the same check we had a couple of times in there.

@flash1293 flash1293 added release_note:skip Skip the PR/issue when compiling release notes backport:version Backport to applied version labels Feature:Streams This is the label for the Streams Project v9.1.0 v8.19.0 labels Mar 4, 2025
@flash1293 flash1293 requested a review from a team as a code owner March 4, 2025 14:56
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

@flash1293 flash1293 merged commit ef0c364 into elastic:main Mar 4, 2025
20 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 4, 2025
I noticed that a couple integration tests were not actually validating
whether the documents got routed the right way (the number and string
tests).

This PR fixes this by introducing a helper that can easily do the same
check we had a couple of times in there.

(cherry picked from commit ef0c364)
@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 Mar 4, 2025
# Backport

This will backport the following commits from `main` to `8.x`:
- [🌊 Streams: Improve integration tests
(#213115)](#213115)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Joe
Reuter","email":"johannes.reuter@elastic.co"},"sourceCommit":{"committedDate":"2025-03-04T20:11:24Z","message":"🌊
Streams: Improve integration tests (#213115)\n\nI noticed that a couple
integration tests were not actually validating\nwhether the documents
got routed the right way (the number and string\ntests).\n\nThis PR
fixes this by introducing a helper that can easily do the same\ncheck we
had a couple of times in
there.","sha":"ef0c364f11b485c29e4c9d065a93c2a4d12fb5eb","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","Feature:Streams","v9.1.0","v8.19.0"],"title":"🌊
Streams: Improve integration
tests","number":213115,"url":"https://github.com/elastic/kibana/pull/213115","mergeCommit":{"message":"🌊
Streams: Improve integration tests (#213115)\n\nI noticed that a couple
integration tests were not actually validating\nwhether the documents
got routed the right way (the number and string\ntests).\n\nThis PR
fixes this by introducing a helper that can easily do the same\ncheck we
had a couple of times in
there.","sha":"ef0c364f11b485c29e4c9d065a93c2a4d12fb5eb"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213115","number":213115,"mergeCommit":{"message":"🌊
Streams: Improve integration tests (#213115)\n\nI noticed that a couple
integration tests were not actually validating\nwhether the documents
got routed the right way (the number and string\ntests).\n\nThis PR
fixes this by introducing a helper that can easily do the same\ncheck we
had a couple of times in
there.","sha":"ef0c364f11b485c29e4c9d065a93c2a4d12fb5eb"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:version Backport to applied version labels Feature:Streams This is the label for the Streams Project release_note:skip Skip the PR/issue when compiling release notes v8.19.0 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants