Skip to content

Commit

Permalink
Address synthetic recovery source release test failures. (elastic#122035
Browse files Browse the repository at this point in the history
)
  • Loading branch information
martijnvg authored Feb 7, 2025
1 parent e32b9f4 commit d93f9c4
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 22 deletions.
21 changes: 0 additions & 21 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -372,35 +372,14 @@ tests:
- class: org.elasticsearch.analysis.common.CommonAnalysisClientYamlTestSuiteIT
method: test {yaml=analysis-common/40_token_filters/stemmer_override file access}
issue: https://github.com/elastic/elasticsearch/issues/121625
- class: org.elasticsearch.test.rest.ClientYamlTestSuiteIT
method: test {yaml=update/100_synthetic_source/stored text}
issue: https://github.com/elastic/elasticsearch/issues/121964
- class: org.elasticsearch.test.rest.ClientYamlTestSuiteIT
method: test {yaml=update/100_synthetic_source/keyword}
issue: https://github.com/elastic/elasticsearch/issues/121965
- class: org.elasticsearch.xpack.esql.plugin.DataNodeRequestSenderTests
method: testDoNotRetryOnRequestLevelFailure
issue: https://github.com/elastic/elasticsearch/issues/121966
- class: org.elasticsearch.xpack.searchablesnapshots.hdfs.SecureHdfsSearchableSnapshotsIT
issue: https://github.com/elastic/elasticsearch/issues/121967
- class: org.elasticsearch.smoketest.SmokeTestMultiNodeClientYamlTestSuiteIT
method: test {yaml=update/100_synthetic_source/stored text}
issue: https://github.com/elastic/elasticsearch/issues/121991
- class: org.elasticsearch.smoketest.SmokeTestMultiNodeClientYamlTestSuiteIT
method: test {yaml=update/100_synthetic_source/keyword}
issue: https://github.com/elastic/elasticsearch/issues/121992
- class: org.elasticsearch.action.search.SearchQueryThenFetchAsyncActionTests
method: testBottomFieldSort
issue: https://github.com/elastic/elasticsearch/issues/121503
- class: org.elasticsearch.xpack.logsdb.LogsdbTestSuiteIT
method: test {yaml=/60_synthetic_source_recovery/synthetic recovery for synthetic source mode index}
issue: https://github.com/elastic/elasticsearch/issues/122026
- class: org.elasticsearch.xpack.logsdb.LogsdbTestSuiteIT
method: test {yaml=/60_synthetic_source_recovery/synthetic recovery for time_series index}
issue: https://github.com/elastic/elasticsearch/issues/122027
- class: org.elasticsearch.xpack.logsdb.LogsdbTestSuiteIT
method: test {yaml=/60_synthetic_source_recovery/synthetic recovery for logsdb index}
issue: https://github.com/elastic/elasticsearch/issues/122028
- class: org.elasticsearch.xpack.application.CohereServiceUpgradeIT
issue: https://github.com/elastic/elasticsearch/issues/121537
- class: org.elasticsearch.xpack.migrate.action.ReindexDatastreamIndexTransportActionIT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public class SmokeTestMultiNodeClientYamlTestSuiteIT extends ESClientYamlSuiteTe
.node(0, n -> n.setting("node.roles", "[master,data,ml,remote_cluster_client,transform]"))
.feature(FeatureFlag.TIME_SERIES_MODE)
.feature(FeatureFlag.SUB_OBJECTS_AUTO_ENABLED)
.feature(FeatureFlag.INDEX_RECOVERY_USE_SYNTHETIC_SOURCE)
.build();

public SmokeTestMultiNodeClientYamlTestSuiteIT(@Name("yaml") ClientYamlTestCandidate testCandidate) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public class ClientYamlTestSuiteIT extends ESClientYamlSuiteTestCase {
.module("data-streams")
.feature(FeatureFlag.TIME_SERIES_MODE)
.feature(FeatureFlag.SUB_OBJECTS_AUTO_ENABLED)
.feature(FeatureFlag.INDEX_RECOVERY_USE_SYNTHETIC_SOURCE)
.build();

public ClientYamlTestSuiteIT(@Name("yaml") ClientYamlTestCandidate testCandidate) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@
public enum FeatureFlag {
TIME_SERIES_MODE("es.index_mode_feature_flag_registered=true", Version.fromString("8.0.0"), null),
FAILURE_STORE_ENABLED("es.failure_store_feature_flag_enabled=true", Version.fromString("8.12.0"), null),
SUB_OBJECTS_AUTO_ENABLED("es.sub_objects_auto_feature_flag_enabled=true", Version.fromString("8.16.0"), null);
SUB_OBJECTS_AUTO_ENABLED("es.sub_objects_auto_feature_flag_enabled=true", Version.fromString("8.16.0"), null),
INDEX_RECOVERY_USE_SYNTHETIC_SOURCE(
"es.index_recovery_use_synthetic_source_feature_flag_enabled=true",
Version.fromString("8.18.0"),
null
);

public final String systemProperty;
public final Version from;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;

import org.elasticsearch.test.cluster.ElasticsearchCluster;
import org.elasticsearch.test.cluster.FeatureFlag;
import org.elasticsearch.test.cluster.local.distribution.DistributionType;
import org.elasticsearch.test.rest.yaml.ClientYamlTestCandidate;
import org.elasticsearch.test.rest.yaml.ESClientYamlSuiteTestCase;
Expand All @@ -23,6 +24,7 @@ public class LogsdbTestSuiteIT extends ESClientYamlSuiteTestCase {
.distribution(DistributionType.DEFAULT)
.setting("xpack.security.enabled", "false")
.setting("xpack.license.self_generated.type", "trial")
.feature(FeatureFlag.INDEX_RECOVERY_USE_SYNTHETIC_SOURCE)
.build();

public LogsdbTestSuiteIT(@Name("yaml") ClientYamlTestCandidate testCandidate) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public class CoreWithSecurityClientYamlTestSuiteIT extends ESClientYamlSuiteTest
.user(USER, PASS)
.feature(FeatureFlag.TIME_SERIES_MODE)
.feature(FeatureFlag.SUB_OBJECTS_AUTO_ENABLED)
.feature(FeatureFlag.INDEX_RECOVERY_USE_SYNTHETIC_SOURCE)
.build();

public CoreWithSecurityClientYamlTestSuiteIT(@Name("yaml") ClientYamlTestCandidate testCandidate) {
Expand Down

0 comments on commit d93f9c4

Please sign in to comment.