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

Create a SearchResponseBuilder for creating SearchResponses in tests #122196

Merged
merged 8 commits into from
Feb 21, 2025

Conversation

thecoop
Copy link
Member

@thecoop thecoop commented Feb 10, 2025

As well as making it easier to create SearchResponse objects in tests, this also highlights which settings on the response the test actually cares about

@thecoop thecoop force-pushed the search-response-builder branch from 6612d7f to 9b3c579 Compare February 12, 2025 09:29
@thecoop thecoop added >test Issues or PRs that are addressing/adding tests :Search/Search Search-related issues that do not fall into other categories >refactoring labels Feb 17, 2025
@thecoop thecoop marked this pull request as ready for review February 17, 2025 13:34
@elasticsearchmachine elasticsearchmachine added the Team:Search Meta label for search team label Feb 17, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@thecoop thecoop requested a review from a team February 21, 2025 09:39
Copy link
Member

@carlosdelest carlosdelest left a comment

Choose a reason for hiding this comment

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

👍 Nice!

@thecoop thecoop merged commit 274be79 into elastic:main Feb 21, 2025
15 of 19 checks passed
@thecoop thecoop deleted the search-response-builder branch February 21, 2025 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>refactoring :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 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants