Skip to content

Ensure that index is actually there in LegacyBaseDocValuesFormatTestCase#15767

Open
romseygeek wants to merge 1 commit intoapache:mainfrom
romseygeek:test/legacy-dv-base-test-commit
Open

Ensure that index is actually there in LegacyBaseDocValuesFormatTestCase#15767
romseygeek wants to merge 1 commit intoapache:mainfrom
romseygeek:test/legacy-dv-base-test-commit

Conversation

@romseygeek
Copy link
Contributor

In rare cases, testSortedNumericsSingleValuedMissingVsStoredFields in
LegacyBaseDocValuesFormatTestCase can fail because the various random
parameters determining flush and commit rates line up badly, and we don't
actually write any data to the test index before trying to open it. This adds
an explicit commit() call so that we avoid spurious failures, in line with other
similar tests in this suite.

@romseygeek
Copy link
Contributor Author

This could conceivably go into a 10.4.1 if we release one? I'll wait until 10.4.0 is actually finished before adding a Changes entry.

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.

1 participant