diff --git a/muted-tests.yml b/muted-tests.yml index ea084ec2cd594..ed3971f523f39 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -520,9 +520,6 @@ tests: - class: org.elasticsearch.xpack.esql.qa.single_node.GenerativeForkIT method: test {lookup-join.MultipleBatches* issue: https://github.com/elastic/elasticsearch/issues/129210 -- class: org.elasticsearch.compute.data.sort.LongTopNSetTests - method: testCrankyBreaker - issue: https://github.com/elastic/elasticsearch/issues/129257 # Examples: # diff --git a/x-pack/plugin/esql/compute/src/test/java/org/elasticsearch/compute/data/sort/TopNSetTestCase.java b/x-pack/plugin/esql/compute/src/test/java/org/elasticsearch/compute/data/sort/TopNSetTestCase.java index 0df1d6047a30e..a82727301ae04 100644 --- a/x-pack/plugin/esql/compute/src/test/java/org/elasticsearch/compute/data/sort/TopNSetTestCase.java +++ b/x-pack/plugin/esql/compute/src/test/java/org/elasticsearch/compute/data/sort/TopNSetTestCase.java @@ -189,7 +189,7 @@ public final void testCrankyBreaker() { collect(sort, value); } - assertResults(sort, sortOrder, limit - 1, values); + assertResults(sort, sortOrder, limit, values); } catch (CircuitBreakingException e) { assertThat(e.getMessage(), equalTo(CrankyCircuitBreakerService.ERROR_MESSAGE)); }