Skip to content

Commit 4e3136a

Browse files
committed
Shift assertion
1 parent a2a9a9e commit 4e3136a

File tree

1 file changed

+4
-1
lines changed
  • x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql

1 file changed

+4
-1
lines changed

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/10_basic.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,10 @@ FROM EVAL SORT LIMIT with documents_found:
237237
query: 'from test | eval x = count + 7 | sort x | limit 1'
238238

239239
- match: {documents_found: 40}
240-
- match: {values_loaded: 65}
240+
# We can't be sure quite how many values we'll load. It's at least
241+
# one per document in the index. And one per top document. But we
242+
# might load more values because we run in more threads.
243+
- gte: {values_loaded: 45}
241244
- match: {columns.0.name: "color"}
242245
- match: {columns.1.name: "count"}
243246
- match: {columns.2.name: "count_d"}

0 commit comments

Comments
 (0)