Skip to content

Fix failure in BaseKnnVectorsFormatTestCase#testIllegalDimensionTooLarge#12467

Merged
mayya-sharipova merged 1 commit intoapache:mainfrom
mayya-sharipova:fix-vector-dims-test
Jul 28, 2023
Merged

Fix failure in BaseKnnVectorsFormatTestCase#testIllegalDimensionTooLarge#12467
mayya-sharipova merged 1 commit intoapache:mainfrom
mayya-sharipova:fix-vector-dims-test

Conversation

@mayya-sharipova
Copy link
Contributor

Depending whether a document with dimensions > maxDims created on a new segment or already existing segment, we may get different error messages. This fix adds another possible error message we may get.

Relates to #12436

…ensionTooLarge

Depending whether a document with dimensions > maxDims created
on a new segment or already existing segment, we may get
different error messages. This fix adds another possible
error message we may get.

Relates to apache#12436
Copy link
Member

@benwtrent benwtrent left a comment

Choose a reason for hiding this comment

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

ran the failing test with thousands of seeds and with the REPRODUCE line:

./gradlew test --tests TestLucene94HnswVectorsFormat.testIllegalDimensionTooLarge -Dtests.seed=AC72FE56C18F6C82 -Dtests.nightly=true -Dtests.locale=sg-CF -Dtests.timezone=America/St_Thomas -Dtests.asserts=true -Dtests.file.encoding=UTF-8

Everything is 🟢 . :shipit:

@mayya-sharipova mayya-sharipova merged commit 155b2ed into apache:main Jul 28, 2023
@mayya-sharipova mayya-sharipova deleted the fix-vector-dims-test branch July 28, 2023 13:37
mayya-sharipova added a commit that referenced this pull request Jul 28, 2023
…ensionTooLarge (#12467)

Depending whether a document with dimensions > maxDims created
on a new segment or already existing segment, we may get
different error messages. This fix adds another possible
error message we may get.

Relates to #12436
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants