Skip to content

Fix test failure in TestSoftDeletesDirectoryReaderWrapper on expected number of deletes #14057

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

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

cwperks
Copy link
Contributor

@cwperks cwperks commented Dec 11, 2024

Description

This PR fixes TestSoftDeletesDirectoryReaderWrapper.testAvoidWrappingReadersWithoutSoftDeletes which consistently fails with a reproducible seed:

./gradlew test --tests TestSoftDeletesDirectoryReaderWrapper.testAvoidWrappingReadersWithoutSoftDeletes -i \
-Dtests.seed=CB973876C2F6A82A \
-Dtests.locale=fr-SN \
-Dtests.timezone=Etc/GMT+7 \
-Dtests.asserts=true \
-Dtests.file.encoding=UTF-8

Thank you to @easyice for the suggested solution and pointers for this fix. For more details about the test failure see: #14020 (comment)

Resolves: #14020

@easyice easyice merged commit c9b4bcd into apache:main Dec 18, 2024
5 checks passed
benchaplin pushed a commit to benchaplin/lucene that referenced this pull request Dec 31, 2024
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.

TestSoftDeletesDirectoryReaderWrapper.testAvoidWrappingReadersWithoutSoftDeletes AssertionError: expected:<5> but was:<3>
2 participants