From 3a17e3a069ef5c364c46054e422601ff0eb1c084 Mon Sep 17 00:00:00 2001 From: Luigi Dell'Aquila Date: Tue, 30 Sep 2025 11:39:53 +0200 Subject: [PATCH] ES|QL: disable SAMPLE generative tests and unmute --- muted-tests.yml | 6 ------ .../xpack/esql/generator/EsqlQueryGenerator.java | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/muted-tests.yml b/muted-tests.yml index 45ec43ae07c4c..6a449bcc380ab 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -588,9 +588,6 @@ tests: - class: org.elasticsearch.xpack.esql.qa.single_node.EsqlSpecIT method: test {csv-spec:spatial_shapes.ConvertCartesianShapeFromStringParseError} issue: https://github.com/elastic/elasticsearch/issues/135455 -- class: org.elasticsearch.xpack.esql.qa.multi_node.GenerativeIT - method: test - issue: https://github.com/elastic/elasticsearch/issues/134407 - class: org.elasticsearch.cluster.routing.allocation.decider.RestoreInProgressAllocationDeciderTests method: testCanAllocatePrimaryExistingInRestoreInProgress issue: https://github.com/elastic/elasticsearch/issues/135566 @@ -603,9 +600,6 @@ tests: - class: org.elasticsearch.xpack.esql.heap_attack.HeapAttackIT method: testAggTooManyMvLongs issue: https://github.com/elastic/elasticsearch/issues/135585 -- class: org.elasticsearch.xpack.esql.qa.single_node.GenerativeIT - method: test - issue: https://github.com/elastic/elasticsearch/issues/134407 # Examples: # diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/generator/EsqlQueryGenerator.java b/x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/generator/EsqlQueryGenerator.java index c6b6d7ee9b1b3..2e56fd9243a2f 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/generator/EsqlQueryGenerator.java +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/generator/EsqlQueryGenerator.java @@ -21,7 +21,6 @@ import org.elasticsearch.xpack.esql.generator.command.pipe.LookupJoinGenerator; import org.elasticsearch.xpack.esql.generator.command.pipe.MvExpandGenerator; import org.elasticsearch.xpack.esql.generator.command.pipe.RenameGenerator; -import org.elasticsearch.xpack.esql.generator.command.pipe.SampleGenerator; import org.elasticsearch.xpack.esql.generator.command.pipe.SortGenerator; import org.elasticsearch.xpack.esql.generator.command.pipe.StatsGenerator; import org.elasticsearch.xpack.esql.generator.command.pipe.TimeSeriesStatsGenerator; @@ -72,7 +71,8 @@ public class EsqlQueryGenerator { LookupJoinGenerator.INSTANCE, MvExpandGenerator.INSTANCE, RenameGenerator.INSTANCE, - SampleGenerator.INSTANCE, + // awaits fix for https://github.com/elastic/elasticsearch/issues/135336 + // SampleGenerator.INSTANCE, SortGenerator.INSTANCE, StatsGenerator.INSTANCE, WhereGenerator.INSTANCE