Skip to content

Commit

Permalink
ESQL: Weaken test assertion (elastic#114336) (elastic#114351)
Browse files Browse the repository at this point in the history
Weaken the assertion when testing breakers: it's ok to break while
building a block in addition to topn.
  • Loading branch information
nik9000 authored Oct 9, 2024
1 parent 67ce8bd commit 09a50e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public void testSortByManyLongsTooMuchMemoryAsync() throws IOException {
"error",
matchesMap().extraOk()
.entry("bytes_wanted", greaterThan(1000))
.entry("reason", matchesRegex("\\[request] Data too large, data for \\[topn] would .+"))
.entry("reason", matchesRegex("\\[request] Data too large, data for \\[(topn|esql_block_factory)] would .+"))
.entry("durability", "TRANSIENT")
.entry("type", "circuit_breaking_exception")
.entry("bytes_limit", greaterThan(1000))
Expand Down

0 comments on commit 09a50e5

Please sign in to comment.