diff --git a/build-tools-internal/src/main/groovy/elasticsearch.bc-upgrade-test.gradle b/build-tools-internal/src/main/groovy/elasticsearch.bc-upgrade-test.gradle index 94702c840c745..70c2c63eadbab 100644 --- a/build-tools-internal/src/main/groovy/elasticsearch.bc-upgrade-test.gradle +++ b/build-tools-internal/src/main/groovy/elasticsearch.bc-upgrade-test.gradle @@ -15,4 +15,11 @@ tasks.register("bcUpgradeTest", StandaloneRestIntegTestTask) { usesBwcDistribution(Version.fromString("0.0.0")) systemProperty("tests.old_cluster_version", "0.0.0") onlyIf("tests.bwc.main.version system property exists") { System.getProperty("tests.bwc.main.version") != null } + filter { + // Mute problematic tests + excludeTestsMatching("org.elasticsearch.upgrades.FullClusterRestartIT.testSnapshotRestore") + excludeTestsMatching("org.elasticsearch.upgrades.FullClusterRestartIT.testSnapshotRestore *") + excludeTestsMatching("org.elasticsearch.xpack.restart.CoreFullClusterRestartIT.testSnapshotRestore") + excludeTestsMatching("org.elasticsearch.xpack.restart.CoreFullClusterRestartIT.testSnapshotRestore *") + } } diff --git a/server/src/main/java/org/elasticsearch/index/IndexVersions.java b/server/src/main/java/org/elasticsearch/index/IndexVersions.java index 3b4c7e633efb8..e9d23ed157c10 100644 --- a/server/src/main/java/org/elasticsearch/index/IndexVersions.java +++ b/server/src/main/java/org/elasticsearch/index/IndexVersions.java @@ -173,6 +173,7 @@ private static Version parseUnchecked(String version) { public static final IndexVersion SEQ_NO_WITHOUT_POINTS = def(9_027_0_00, Version.LUCENE_10_2_1); public static final IndexVersion INDEX_INT_SORT_INT_TYPE = def(9_028_0_00, Version.LUCENE_10_2_1); public static final IndexVersion MAPPER_TEXT_MATCH_ONLY_MULTI_FIELDS_DEFAULT_NOT_STORED = def(9_029_0_00, Version.LUCENE_10_2_1); + public static final IndexVersion TEST_INDEX_VERSION_DO_NOT_MERGE = def(9_030_0_00, Version.LUCENE_10_2_1); /* * STOP! READ THIS FIRST! No, really,