From 939c111ab984a6087914463df0f8ee343e119483 Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Fri, 10 Oct 2025 15:12:20 -0600 Subject: [PATCH] Looks like we can't expect a specific number here (#136431) (cherry picked from commit 3ced36937ab6208cdd3c461c4f04a7035bba53ec) # Conflicts: # muted-tests.yml --- muted-tests.yml | 3 --- .../xpack/esql/action/CrossClusterAsyncQueryStopIT.java | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/muted-tests.yml b/muted-tests.yml index 8466b629664f2..965ef1f359f25 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -627,9 +627,6 @@ tests: - class: org.elasticsearch.datastreams.DataStreamIndexSettingsProviderTests method: testGetAdditionalIndexSettingsMappingsMerging issue: https://github.com/elastic/elasticsearch/issues/135884 -- class: org.elasticsearch.xpack.esql.action.CrossClusterAsyncQueryStopIT - method: testStopQueryInlineStats - issue: https://github.com/elastic/elasticsearch/issues/135032 - class: org.elasticsearch.datastreams.DataStreamIndexSettingsProviderTests method: testGetAdditionalIndexSettings issue: https://github.com/elastic/elasticsearch/issues/135972 diff --git a/x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/CrossClusterAsyncQueryStopIT.java b/x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/CrossClusterAsyncQueryStopIT.java index 972a9a4653671..858ec919e5b25 100644 --- a/x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/CrossClusterAsyncQueryStopIT.java +++ b/x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/CrossClusterAsyncQueryStopIT.java @@ -318,7 +318,7 @@ public void testStopQueryInlineStats() throws Exception { // The sum could be null, if the stats did not manage to compute anything before being stopped // Or it could be 45L if it managed to add 0-9 if (v != null) { - assertThat((long) v, equalTo(45L)); + assertThat((long) v, lessThanOrEqualTo(45L)); } v = row.next(); if (v != null) {