From 15d541f82e4b64c68a380fd9e5041b7804452559 Mon Sep 17 00:00:00 2001 From: Ed Savage Date: Mon, 9 Oct 2023 10:13:33 +0100 Subject: [PATCH] Mute failing ClusterSearchShardsResponseTests/testSerialization (#100483) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test `ClusterSearchShardsResponseTests/testSerialization` fails with output ``` org.elasticsearch.action.admin.cluster.shards.ClusterSearchShardsResponseTests > testSerialization FAILED |   -- | --   | java.lang.IllegalArgumentException: Node versions can only be inferred before release version 8.10.0 |     | at __randomizedtesting.SeedInfo.seed([8D8D9B5E7417133A:D955FA1653452EA6]:0) |     | at org.elasticsearch.cluster.node.VersionInformation.inferVersions(VersionInformation.java:42) |     | at org.elasticsearch.cluster.node.DiscoveryNodeUtils$Builder.build(DiscoveryNodeUtils.java:152) |     | at org.elasticsearch.cluster.node.DiscoveryNodeUtils.create(DiscoveryNodeUtils.java:39) |     | at org.elasticsearch.action.admin.cluster.shards.ClusterSearchShardsResponseTests.testSerialization(ClusterSearchShardsResponseTests.java:52) ``` Mute it. Relates #100482 --- .../admin/cluster/shards/ClusterSearchShardsResponseTests.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/test/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsResponseTests.java b/server/src/test/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsResponseTests.java index 1922aa4042ebd..59679cc150910 100644 --- a/server/src/test/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsResponseTests.java +++ b/server/src/test/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsResponseTests.java @@ -8,6 +8,7 @@ package org.elasticsearch.action.admin.cluster.shards; +import org.apache.lucene.tests.util.LuceneTestCase; import org.elasticsearch.TransportVersion; import org.elasticsearch.cluster.node.DiscoveryNode; import org.elasticsearch.cluster.node.DiscoveryNodeUtils; @@ -38,6 +39,7 @@ public class ClusterSearchShardsResponseTests extends ESTestCase { + @LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/100482") public void testSerialization() throws Exception { Map indicesAndFilters = new HashMap<>(); Set nodes = new HashSet<>();