Skip to content

Conversation

@cbuescher
Copy link
Member

This change adds a basic unit test for the SuggestionSearchContext that is
created as output of SuggestionBuilder#build. The current test only adds checks
for the common fields (like text, prefix, fieldName etc...). Individual checks
for each SuggestionBuilder subtype will be added in follow-up PRs.

Relates to #17118

@cbuescher cbuescher added review >test Issues or PRs that are addressing/adding tests v6.0.0 labels Jul 5, 2017
@cbuescher cbuescher force-pushed the addTests-SuggestionBuilderContext branch from 02cacce to 3148153 Compare July 5, 2017 10:13
This change adds a basic unit test for the SuggestionSearchContext that is
created as output of SuggestionBuilder#build. The current test only adds checks
for the common fields (like text, prefix, fieldName etc...). Individual checks
for each SuggestionBuilder subtype will be added in follow-up PRs.

Relates to elastic#17118
@cbuescher
Copy link
Member Author

@nik9000 thanks a lot for the review, much appreciated

@cbuescher cbuescher merged commit 41d0ff3 into elastic:master Jul 6, 2017
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Jul 6, 2017
* master:
  Fix cluster health wait conditions in rolling restart tests
  Add cluster name validation to RemoteClusterConnection (elastic#25568)
  Removes deprecated usage of the FieldStats API in a test that verifies sequence number data in Lucene commit points.  Instead, the test retrieves the _seq_no value from the commit point directly and converts it to a Long value.
  [Tests] Check output of SuggestionBuilder#build method (elastic#25549)
  [Docs] Document Bulk Processor for Java High Level REST Client (elastic#25572)
  Update REST client deps license and notice files (elastic#25573)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>test Issues or PRs that are addressing/adding tests v6.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants