From 8e0b68018d0891eb6d6128b1537ea0975c407a1a Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Tue, 15 Jul 2025 19:02:15 -0600 Subject: [PATCH] Disable in release build due to pragma (#131340) --- .../xpack/esql/action/CrossClusterAsyncQueryStopIT.java | 1 + 1 file changed, 1 insertion(+) 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 b49f45273f337..b91b365cf996b 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 @@ -129,6 +129,7 @@ public void testStopQuery() throws Exception { } public void testStopQueryLocal() throws Exception { + assumeTrue("Pragma does not work in release builds", Build.current().isSnapshot()); Map testClusterInfo = setupClusters(3); int remote1NumShards = (Integer) testClusterInfo.get("remote1.num_shards"); int remote2NumShards = (Integer) testClusterInfo.get("remote2.num_shards");