-
Couldn't load subscription status.
- Fork 25.6k
Semantic Text Rolling Upgrade Tests #126548
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
Semantic Text Rolling Upgrade Tests #126548
Conversation
x-pack/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/SemanticTextUpgradeIT.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice start!
x-pack/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/SemanticTextUpgradeIT.java
Show resolved
Hide resolved
x-pack/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/SemanticTextUpgradeIT.java
Outdated
Show resolved
Hide resolved
|
Pinging @elastic/search-eng (Team:SearchOrg) |
|
Pinging @elastic/search-relevance (Team:Search - Relevance) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given the limitations on mocking this looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice work 👏
x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/model/TestModel.java
Show resolved
Hide resolved
|
The 8.19 tests are failing because the semantic text chunking config transport version needs to be ported to |
|
@elasticmachine update branch |
💚 Backport successful
|
* Semantic Text Rolling Upgrade Tests (#126548) * Fix test failures --------- Co-authored-by: Elastic Machine <[email protected]>
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
(cherry picked from commit 2eb9fab) # Conflicts: # x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/model/TestModel.java
…127748) * Semantic Text Rolling Upgrade Tests (elastic#126548) * Fix test failures --------- Co-authored-by: Elastic Machine <[email protected]> (cherry picked from commit a3a64ea) # Conflicts: # x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/model/TestModel.java
…127748) * Semantic Text Rolling Upgrade Tests (elastic#126548) * Fix test failures --------- Co-authored-by: Elastic Machine <[email protected]> (cherry picked from commit a3a64ea) # Conflicts: # x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/model/TestModel.java
Adds a rolling upgrade test suite for basic
semantic_textfunctionality. Covers indexing docs, querying, and highlighting.I chose to go with an integration test approach because we cannot perform inference via the Inference API in this context (it depends on a mock inference services plugin that we cannot load). Instead, we depend on passing in pre-computed inference results at index and query time. It's much easier to do this in an integration test where we can: