From 5cbb64cfff963648310b67f228f79cf001e21e40 Mon Sep 17 00:00:00 2001 From: Luigi Dell'Aquila Date: Wed, 2 Jul 2025 09:52:43 +0200 Subject: [PATCH] ES|QL: unmute generative tests and reduce forks --- muted-tests.yml | 6 ------ .../esql/qa/rest/generative/command/pipe/ForkGenerator.java | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/muted-tests.yml b/muted-tests.yml index 5c4e29a834537..f7c10ce426082 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -522,12 +522,6 @@ tests: - class: org.elasticsearch.xpack.inference.qa.mixed.CohereServiceMixedIT method: testCohereEmbeddings issue: https://github.com/elastic/elasticsearch/issues/130010 -- class: org.elasticsearch.xpack.esql.qa.multi_node.GenerativeIT - method: test - issue: https://github.com/elastic/elasticsearch/issues/130067 -- class: org.elasticsearch.xpack.esql.qa.single_node.GenerativeIT - method: test - issue: https://github.com/elastic/elasticsearch/issues/130067 - class: org.elasticsearch.action.support.ThreadedActionListenerTests method: testRejectionHandling issue: https://github.com/elastic/elasticsearch/issues/130129 diff --git a/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/generative/command/pipe/ForkGenerator.java b/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/generative/command/pipe/ForkGenerator.java index bf402896e90c2..bb82a7e4f7e22 100644 --- a/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/generative/command/pipe/ForkGenerator.java +++ b/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/generative/command/pipe/ForkGenerator.java @@ -34,7 +34,7 @@ public CommandDescription generate( } } - int n = randomIntBetween(2, 8); + int n = randomIntBetween(2, 3); String cmd = " | FORK " + "( WHERE true ) ".repeat(n) + " | WHERE _fork == \"fork" + randomIntBetween(1, n) + "\" | DROP _fork";