Skip to content

Drop single node test case from runtime fields #61241

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 5 commits into from
Aug 24, 2020

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented Aug 17, 2020

This replaces the ESSingleNodeTestCase with ESTestCase in runtime
fields, proving that we can use ESTestCase to test field mappers.

Relates to #59332

This replaces the `ESSingleNodeTestCase` with `ESTestCase` in runtime
fields, proving that we can use `ESTestCase` to test field mappers.
@nik9000 nik9000 added >test Issues or PRs that are addressing/adding tests :Search/Search Search-related issues that do not fall into other categories labels Aug 17, 2020
@nik9000 nik9000 requested a review from javanna August 17, 2020 21:43
@elasticmachine
Copy link
Collaborator

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

@elasticmachine elasticmachine added the Team:Search Meta label for search team label Aug 17, 2020
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.

left a comment, thanks a lot for this

MAPPER_REGISTRY,
() -> { throw new UnsupportedOperationException(); },
() -> true,
SCRIPT_SERVICE
Copy link
Member

Choose a reason for hiding this comment

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

One thing I can't wrap my head around: as it stands this depends on #60933 . There is no final agreement yet on how to expose script service to the mappings code, so I was wondering whether it's wise to build on that, or whether we would still be able to adapt the test code once we find an alternative solution that we have agreement on.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think we can adapt it to whatever we decide on, yeah.

@nik9000 nik9000 merged commit 8818156 into elastic:feature/runtime_fields Aug 24, 2020
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants