mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 09:28:55 -04:00
Round in stats test for docs (#128048)
In Serverless tests, we sometimes hit rounding errors because even single node tests are executed on 3 nodes there. Rounding makes this test deterministic.
This commit is contained in:
parent
9b1815c84a
commit
e00b28e2a3
1 changed files with 1 additions and 0 deletions
|
@ -1428,6 +1428,7 @@ docsStatsSumNestedExpression#[skip:-8.12.99,reason:supported in 8.13+]
|
|||
FROM employees
|
||||
| STATS total_salary_changes = SUM(MV_MAX(salary_change))
|
||||
// end::docsStatsSumNestedExpression[]
|
||||
| EVAL total_salary_changes = ROUND(total_salary_changes, 2)
|
||||
;
|
||||
|
||||
// tag::docsStatsSumNestedExpression-result[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue