Skip to content
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

Fix failure in BaseKnnVectorsFormatTestCase#testIllegalDimensionTooLarge #12467

Merged
merged 1 commit into from
Jul 28, 2023

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
4 checks passed
@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