[Tests] Add test for PhraseSuggestionBuilder#build output#25571
Merged
cbuescher merged 1 commit intoelastic:masterfrom Jul 7, 2017
Merged
[Tests] Add test for PhraseSuggestionBuilder#build output#25571cbuescher merged 1 commit intoelastic:masterfrom
cbuescher merged 1 commit intoelastic:masterfrom
Conversation
cbuescher
commented
Jul 6, 2017
Member
Author
There was a problem hiding this comment.
cbuescher
commented
Jul 6, 2017
Member
Author
There was a problem hiding this comment.
Use the original Script code for MockTemplateScript, this will be checked in https://github.com/elastic/elasticsearch/pull/25571/files#diff-7925b951f7645dcb8a552ff8440accd3R208
nik9000
approved these changes
Jul 6, 2017
4090842 to
5ba8fa4
Compare
5ba8fa4 to
5c1a910
Compare
jasontedor
added a commit
to jasontedor/elasticsearch
that referenced
this pull request
Jul 7, 2017
* master: (42 commits) Harden global checkpoint tracker Remove deprecated created and found from index, delete and bulk (elastic#25516) fix testEnsureVersionCompatibility for 5.5.0 release fix Version.v6_0_0 min compatibility version to 5.5.0 Add bwc indices for 5.5.0 Add v5_5_1 constant [DOCS] revise high level client Search Scroll API docs (elastic#25599) Improve REST error handling when endpoint does not support HTTP verb, add OPTIONS support (elastic#24437) Avoid SecurityException in repository-S3 on DefaultS3OutputStream.flush() (elastic#25254) [Tests] Add tests for CompletionSuggestionBuilder#build() (elastic#25575) Enable cross-setting validation [Docs] Fix typo in bootstrap-checks.asciidoc (elastic#25597) Index ids in binary form. (elastic#25352) bwc checkout should fetch from all remotes IndexingIT should check for global checkpoints regardless of master version [Tests] Add tests for PhraseSuggestionBuilder#build() (elastic#25571) Remove unused class MinimalMap (elastic#25590) [Docs] Document Scroll API for Java High Level REST Client (elastic#25554) Disable date field mapping changing (elastic#25285) Allow BWC Testing against a specific branch (elastic#25510) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Based on #25549, this adds a unit test that checks the PhraseSuggestionContext contents that are the output of PhraseSuggestionBuilder#build vs. the values the original builder contains.