Skip to content

Commit 3444c07

Browse files
committed
Renaming function in tests.
1 parent 5eadd6f commit 3444c07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/RerankOperatorTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ <V extends Block, U> void assertBlockContentEquals(
306306
V inputBlock = asInstanceOf(blockClass, input);
307307
V resultBlock = asInstanceOf(blockClass, result);
308308

309-
assertRandomPositions(inputBlock, (pos) -> {
309+
assertAllPositions(inputBlock, (pos) -> {
310310
if (inputBlock.isNull(pos)) {
311311
assertThat(resultBlock.isNull(pos), equalTo(inputBlock.isNull(pos)));
312312
} else {
@@ -322,7 +322,7 @@ <V extends Block, U> void assertBlockContentEquals(
322322
});
323323
}
324324

325-
private void assertRandomPositions(Block block, Consumer<Integer> consumer) {
325+
private void assertAllPositions(Block block, Consumer<Integer> consumer) {
326326
for (int pos = 0; pos < block.getPositionCount(); pos++) {
327327
consumer.accept(pos);
328328
}

0 commit comments

Comments
 (0)