Skip to content

Commit 25ef602

Browse files
committed
Fix Lucene tests operator status check
1 parent 6a505b0 commit 25ef602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/esql/compute/test/src/main/java/org/elasticsearch/compute/test/SourceOperatorTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ protected void assertStatus(Map<String, Object> map, List<Page> input, List<Page
2222
map,
2323
matchesMap().extraOk()
2424
.entry("pages_emitted", output.size())
25-
.entry("rows_emitted", output.stream().mapToLong(Page::getPositionCount).sum())
25+
.entry("rows_emitted", output.stream().mapToInt(Page::getPositionCount).sum())
2626
);
2727
}
2828
}

0 commit comments

Comments
 (0)