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

Add some more tests for source-only fields #66030

Merged
merged 6 commits into from
Dec 10, 2020

Conversation

romseygeek
Copy link
Contributor

This commit adds some more test coverage for runtime fields:

  • source-only field tests now use dynamic:false instead of defining disabled
    object fields
  • new tests for source-only fields defined at query time
  • tests for shadowing of nested fields

@romseygeek romseygeek added >test Issues or PRs that are addressing/adding tests :Search/Search Search-related issues that do not fall into other categories v8.0.0 v7.11.0 labels Dec 8, 2020
@romseygeek romseygeek requested a review from javanna December 8, 2020 14:20
@romseygeek romseygeek self-assigned this Dec 8, 2020
@elasticmachine elasticmachine added the Team:Search Meta label for search team label Dec 8, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

Copy link
Member

@javanna javanna left a comment

Choose a reason for hiding this comment

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

LGTM thanks @romseygeek shall we add yaml tests for querying nested docs also?

@romseygeek romseygeek merged commit 69d8180 into elastic:master Dec 10, 2020
@romseygeek romseygeek deleted the runtime/yaml-tests branch December 10, 2020 11:41
romseygeek added a commit that referenced this pull request Dec 14, 2020
This commit adds some more test coverage for runtime fields:

* source-only field tests now use dynamic:false instead of defining disabled
  object fields
* new tests for source-only fields defined at query time
* tests for shadowing of nested fields
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team >test Issues or PRs that are addressing/adding tests v7.11.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants