elasticsearch
elasticsearch copied to clipboard
[ES|QL] Create MockBigArrays with CircuitBreaker in AbstractFunctionTestCases
The MockBigArrays created in AbstractFunctionTestCases do not have a circuit breaker set properly, which may cause OOM when the size of test data is large. After this change, the test in with large data size fails with an error instead of OOM #107756.
#107798 reduces the size of the test data so that the test can pass.
Pinging @elastic/es-analytical-engine (Team:Analytics)
This should resolve #107756 .