From ae383196e0e4eba274e2ab7ed68bc1bfc7e4a337 Mon Sep 17 00:00:00 2001 From: Dmitry Kubikov Date: Thu, 25 Sep 2025 13:58:49 -0700 Subject: [PATCH 1/2] Fixed TextRollingUpgradeIT --- muted-tests.yml | 9 --------- .../org/elasticsearch/upgrades/TextRollingUpgradeIT.java | 3 +-- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/muted-tests.yml b/muted-tests.yml index a59566584f413..727f8f88f8b2b 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -452,15 +452,6 @@ tests: - class: org.elasticsearch.simdvec.ESVectorUtilTests method: testSoarDistance issue: https://github.com/elastic/elasticsearch/issues/135139 -- class: org.elasticsearch.upgrades.TextRollingUpgradeIT - method: testIndexing {upgradedNodes=1} - issue: https://github.com/elastic/elasticsearch/issues/135236 -- class: org.elasticsearch.upgrades.TextRollingUpgradeIT - method: testIndexing {upgradedNodes=3} - issue: https://github.com/elastic/elasticsearch/issues/135237 -- class: org.elasticsearch.upgrades.TextRollingUpgradeIT - method: testIndexing {upgradedNodes=2} - issue: https://github.com/elastic/elasticsearch/issues/135238 # Examples: # diff --git a/x-pack/plugin/logsdb/qa/rolling-upgrade/src/javaRestTest/java/org/elasticsearch/upgrades/TextRollingUpgradeIT.java b/x-pack/plugin/logsdb/qa/rolling-upgrade/src/javaRestTest/java/org/elasticsearch/upgrades/TextRollingUpgradeIT.java index fc91ca9352eaf..afb494ac25859 100644 --- a/x-pack/plugin/logsdb/qa/rolling-upgrade/src/javaRestTest/java/org/elasticsearch/upgrades/TextRollingUpgradeIT.java +++ b/x-pack/plugin/logsdb/qa/rolling-upgrade/src/javaRestTest/java/org/elasticsearch/upgrades/TextRollingUpgradeIT.java @@ -8,7 +8,6 @@ package org.elasticsearch.upgrades; import com.carrotsearch.randomizedtesting.annotations.Name; - import org.elasticsearch.client.Request; import org.elasticsearch.client.Response; import org.elasticsearch.client.ResponseException; @@ -81,7 +80,7 @@ public class TextRollingUpgradeIT extends AbstractRollingUpgradeWithSecurityTest }"""; // when sorted, this message will appear at the top and hence can be used to validate query results - private String smallestMessage; + private static String smallestMessage; public TextRollingUpgradeIT(@Name("upgradedNodes") int upgradedNodes) { super(upgradedNodes); From 527c88d7edfffc224e65cf64c1d688388916a1b0 Mon Sep 17 00:00:00 2001 From: elasticsearchmachine Date: Thu, 25 Sep 2025 21:07:56 +0000 Subject: [PATCH 2/2] [CI] Auto commit changes from spotless --- .../java/org/elasticsearch/upgrades/TextRollingUpgradeIT.java | 1 + 1 file changed, 1 insertion(+) diff --git a/x-pack/plugin/logsdb/qa/rolling-upgrade/src/javaRestTest/java/org/elasticsearch/upgrades/TextRollingUpgradeIT.java b/x-pack/plugin/logsdb/qa/rolling-upgrade/src/javaRestTest/java/org/elasticsearch/upgrades/TextRollingUpgradeIT.java index afb494ac25859..c894d6fe91705 100644 --- a/x-pack/plugin/logsdb/qa/rolling-upgrade/src/javaRestTest/java/org/elasticsearch/upgrades/TextRollingUpgradeIT.java +++ b/x-pack/plugin/logsdb/qa/rolling-upgrade/src/javaRestTest/java/org/elasticsearch/upgrades/TextRollingUpgradeIT.java @@ -8,6 +8,7 @@ package org.elasticsearch.upgrades; import com.carrotsearch.randomizedtesting.annotations.Name; + import org.elasticsearch.client.Request; import org.elasticsearch.client.Response; import org.elasticsearch.client.ResponseException;