Skip to content

Commit

Permalink
Add back gte version conditions on full restart tests (elastic#117129)
Browse files Browse the repository at this point in the history
Follow on from elastic#116929. It is valid to do a full restart from any v8 cluster into a v9 cluster, so we need to maintain test conditions for those versions. Rather than historical versions, we can now use version features instead.
  • Loading branch information
thecoop authored Nov 20, 2024
1 parent b89d578 commit 9854fdc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 30 deletions.
30 changes: 0 additions & 30 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,36 +245,6 @@ tests:
- class: org.elasticsearch.xpack.test.rest.XPackRestIT
method: test {p0=snapshot/10_basic/Failed to snapshot indices with synthetic source}
issue: https://github.com/elastic/elasticsearch/issues/117082
- class: org.elasticsearch.upgrades.FullClusterRestartDownsampleIT
method: testRollupIndex {cluster=OLD}
issue: https://github.com/elastic/elasticsearch/issues/117084
- class: org.elasticsearch.upgrades.FullClusterRestartDownsampleIT
method: testRollupIndex {cluster=UPGRADED}
issue: https://github.com/elastic/elasticsearch/issues/117086
- class: org.elasticsearch.upgrades.FullClusterRestartIT
method: testNewReplicasTimeSeriesMode {cluster=OLD}
issue: https://github.com/elastic/elasticsearch/issues/117087
- class: org.elasticsearch.upgrades.FullClusterRestartIT
method: testNewReplicasTimeSeriesMode {cluster=UPGRADED}
issue: https://github.com/elastic/elasticsearch/issues/117088
- class: org.elasticsearch.upgrades.FullClusterRestartIT
method: testSearchTimeSeriesMode {cluster=OLD}
issue: https://github.com/elastic/elasticsearch/issues/117089
- class: org.elasticsearch.upgrades.FullClusterRestartIT
method: testSearchTimeSeriesMode {cluster=UPGRADED}
issue: https://github.com/elastic/elasticsearch/issues/117090
- class: org.elasticsearch.xpack.restart.CoreFullClusterRestartIT
method: testNewReplicasTimeSeriesMode {cluster=OLD}
issue: https://github.com/elastic/elasticsearch/issues/117091
- class: org.elasticsearch.xpack.restart.CoreFullClusterRestartIT
method: testSearchTimeSeriesMode {cluster=OLD}
issue: https://github.com/elastic/elasticsearch/issues/117092
- class: org.elasticsearch.xpack.restart.CoreFullClusterRestartIT
method: testNewReplicasTimeSeriesMode {cluster=UPGRADED}
issue: https://github.com/elastic/elasticsearch/issues/117093
- class: org.elasticsearch.xpack.restart.CoreFullClusterRestartIT
method: testSearchTimeSeriesMode {cluster=UPGRADED}
issue: https://github.com/elastic/elasticsearch/issues/117094
- class: org.elasticsearch.discovery.ClusterDisruptionIT
method: testAckedIndexing
issue: https://github.com/elastic/elasticsearch/issues/117024
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ private String getRollupIndexName() throws IOException {
}

public void testRollupIndex() throws Exception {
assumeTrue("Downsample got many stability improvements in 8.10.0", oldClusterHasFeature("gte_v8.10.0"));
if (isRunningAgainstOldCluster()) {
createIlmPolicy();
createIndex();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ public void testNewReplicas() throws Exception {
}

public void testSearchTimeSeriesMode() throws Exception {
assumeTrue("indexing time series indices changed in 8.2.0", oldClusterHasFeature("gte_v8.2.0"));
int numDocs;
if (isRunningAgainstOldCluster()) {
numDocs = createTimeSeriesModeIndex(1);
Expand Down Expand Up @@ -298,6 +299,7 @@ public void testSearchTimeSeriesMode() throws Exception {
}

public void testNewReplicasTimeSeriesMode() throws Exception {
assumeTrue("indexing time series indices changed in 8.2.0", oldClusterHasFeature("gte_v8.2.0"));
if (isRunningAgainstOldCluster()) {
createTimeSeriesModeIndex(0);
} else {
Expand Down

0 comments on commit 9854fdc

Please sign in to comment.