Skip to content

Avoid clash between source field and header field in CsvProcessorTests #51962

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

Merged
merged 1 commit into from
Feb 7, 2020

Conversation

probakowski
Copy link
Contributor

This change fixes flakiness in CsvProcessorTests where source field can be the same as one of the headers used by tests which messes up asserts when we check that field is not present after processor run.

Closes #50209

This change fixes flakiness in `CsvProcessorTests` where source field
can be the same as one of the headers used by tests which messes up
asserts when we check that field is not present after processor run.

Closes elastic#50209
@probakowski probakowski added >test Issues or PRs that are addressing/adding tests :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP v8.0.0 v7.7.0 v7.6.1 labels Feb 5, 2020
@probakowski probakowski requested a review from jbaiera February 5, 2020 20:04
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/Ingest)

Copy link
Member

@jbaiera jbaiera left a comment

Choose a reason for hiding this comment

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

LGTM

@probakowski probakowski merged commit 4ea1b06 into elastic:master Feb 7, 2020
@probakowski probakowski deleted the fix-csv-test branch February 7, 2020 18:06
probakowski added a commit to probakowski/elasticsearch that referenced this pull request Feb 7, 2020
elastic#51962)

This change fixes flakiness in `CsvProcessorTests` where source field
can be the same as one of the headers used by tests which messes up
asserts when we check that field is not present after processor run.

Closes elastic#50209
probakowski added a commit that referenced this pull request Feb 7, 2020
#51962) (#52072)

This change fixes flakiness in `CsvProcessorTests` where source field
can be the same as one of the headers used by tests which messes up
asserts when we check that field is not present after processor run.

Closes #50209
probakowski added a commit that referenced this pull request Feb 7, 2020
#51962) (#52070)

This change fixes flakiness in `CsvProcessorTests` where source field
can be the same as one of the headers used by tests which messes up
asserts when we check that field is not present after processor run.

Closes #50209
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >test Issues or PRs that are addressing/adding tests v7.6.1 v7.7.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CsvProcessorTests#testUntrimmed fails
5 participants