Skip to content

Migrate IfThisTestFailsThenHitTermsAreBroken to AbstractQueryTest#3680

Open
apmoriarty wants to merge 1 commit into
integrationfrom
task/migrate-if-this-test-fails-hit-terms-broken
Open

Migrate IfThisTestFailsThenHitTermsAreBroken to AbstractQueryTest#3680
apmoriarty wants to merge 1 commit into
integrationfrom
task/migrate-if-this-test-fails-hit-terms-broken

Conversation

@apmoriarty

Copy link
Copy Markdown
Collaborator

Drops Arquillian (which had no @deployment method and never actually ran) and Spring in favor of AbstractQueryTest, whose built-in expectHitTermsRequiredAllOf/AnyOf and hit-term validation already replicate this test's original hand-rolled HitTermAssertions usage. ShardRange/DocumentRange split dropped; ingest now writes the document range only and adds an IndexIngestUtil call so AbstractQueryTest's index-table-variant iteration works. All 10 tests pass.

Drops Arquillian (which had no @deployment method and never actually
ran) and Spring in favor of AbstractQueryTest, whose built-in
expectHitTermsRequiredAllOf/AnyOf and hit-term validation already
replicate this test's original hand-rolled HitTermAssertions usage.
ShardRange/DocumentRange split dropped; ingest now writes the document
range only and adds an IndexIngestUtil call so AbstractQueryTest's
index-table-variant iteration works. All 10 tests pass.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants