Skip to content

Commit

Permalink
Fix TestLucene90FieldInfosFormat.testRandom (#13135)
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamvishu authored and stefanvodita committed Apr 22, 2024
1 parent cb1d755 commit 112523e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@ public void testRandom() throws Exception {

String parentField = random().nextBoolean() ? TestUtil.randomUnicodeString(random()) : null;

if (softDeletesField != null && softDeletesField.equals(parentField)) {
parentField = null;
}
var builder = INDEX_PACKAGE_ACCESS.newFieldInfosBuilder(softDeletesField, parentField);

for (String field : fieldNames) {
Expand Down

0 comments on commit 112523e

Please sign in to comment.