Skip to content

Commit

Permalink
Cover all DataType (#14091)
Browse files Browse the repository at this point in the history
Cover all DataType
  • Loading branch information
LuXugang authored Jan 10, 2025
1 parent 6f9702e commit c20e09e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lucene/CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ Other

* GITHUB#14116 Use CDL to block threads to avoid flaky tests. (Ao Li)

* GITHUB#14091: Cover all DataType. (Lu Xugang)

======================= Lucene 10.1.0 =======================

API Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ public void testPackedLongValues() {
new long[RandomNumbers.randomIntBetween(random(), 1, TEST_NIGHTLY ? 1000000 : 10000)];
float[] ratioOptions = new float[] {PackedInts.DEFAULT, PackedInts.COMPACT, PackedInts.FAST};
for (int bpv : new int[] {0, 1, 63, 64, RandomNumbers.randomIntBetween(random(), 2, 62)}) {
for (DataType dataType : Arrays.asList(DataType.DELTA_PACKED)) {
for (DataType dataType : DataType.values()) {
final int pageSize = 1 << TestUtil.nextInt(random(), 6, 20);
float acceptableOverheadRatio =
ratioOptions[TestUtil.nextInt(random(), 0, ratioOptions.length - 1)];
Expand Down

0 comments on commit c20e09e

Please sign in to comment.