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

[Ingest Pipelines] add tests for grok processor #130123

Merged
merged 1 commit into from
Apr 14, 2022

Conversation

alisonelizabeth
Copy link
Contributor

@alisonelizabeth alisonelizabeth commented Apr 13, 2022

Fixes #129731

This PR adds some basic tests for the Grok processor to prevent regressions like #129731. The underlying issue was fixed via #128489.

Note: I ran this test pre-fix to confirm the test was failing, and is now passing with the fix.

@alisonelizabeth alisonelizabeth added chore Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more release_note:skip Skip the PR/issue when compiling release notes Feature:Ingest Node Pipelines Ingest node pipelines management v8.3.0 v8.2.1 labels Apr 13, 2022
@@ -1,57 +0,0 @@
/*
Copy link
Contributor Author

Choose a reason for hiding this comment

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

No longer needed due to new tests added above. This appeared to be a one-off test located in the processors directory. The new tests were moved to the __jests__ directory to align with the other processor tests.

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
ingestPipelines 451.6KB 451.7KB +121.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@alisonelizabeth alisonelizabeth marked this pull request as ready for review April 13, 2022 23:17
@alisonelizabeth alisonelizabeth requested a review from a team as a code owner April 13, 2022 23:17
@elasticmachine
Copy link
Contributor

Pinging @elastic/platform-deployment-management (Team:Deployment Management)

Copy link
Member

@sabarasaba sabarasaba left a comment

Choose a reason for hiding this comment

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

Thanks for adding these @alisonelizabeth! changes lgtm

@alisonelizabeth alisonelizabeth added the auto-backport Deprecated - use backport:version if exact versions are needed label Apr 14, 2022
@alisonelizabeth alisonelizabeth merged commit 9e900a1 into elastic:main Apr 14, 2022
@alisonelizabeth alisonelizabeth deleted the bugfix/grok_processor branch April 14, 2022 12:17
kibanamachine pushed a commit that referenced this pull request Apr 14, 2022
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.2

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

Questions ?

Please refer to the Backport tool documentation

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Apr 18, 2022
@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Apr 18, 2022
kibanamachine added a commit that referenced this pull request Apr 18, 2022
)

* [Ingest Pipelines] add tests for grok processor (#130123)

(cherry picked from commit 9e900a1)

* update test

Co-authored-by: Alison Goryachev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed chore Feature:Ingest Node Pipelines Ingest node pipelines management release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v8.2.1 v8.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Ingest Pipelines] Unable to add multiple patterns in grok processor
5 participants