Skip to content

Commit

Permalink
Hide new test behind a feature (elastic#112301)
Browse files Browse the repository at this point in the history
  • Loading branch information
lkts authored Aug 28, 2024
1 parent 67d2380 commit 0fe220a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 0 additions & 3 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,6 @@ tests:
- class: org.elasticsearch.xpack.ml.integration.MlJobIT
method: testDeleteJobAsync
issue: https://github.com/elastic/elasticsearch/issues/112212
- class: org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT
method: test {p0=indices.create/20_synthetic_source/stored field under object with store_array_source}
issue: https://github.com/elastic/elasticsearch/issues/112264
- class: org.elasticsearch.search.query.ScriptScoreQueryTests
method: testScriptTermStatsAvailable
issue: https://github.com/elastic/elasticsearch/issues/112278
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1342,8 +1342,8 @@ subobjects auto:
# 112156
stored field under object with store_array_source:
- requires:
cluster_features: ["mapper.track_ignored_source"]
reason: requires tracking ignored source
cluster_features: ["mapper.source.synthetic_source_stored_fields_advance_fix"]
reason: requires bug fix to be implemented

- do:
indices.create:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ public Set<NodeFeature> getFeatures() {
IndexModeFieldMapper.QUERYING_INDEX_MODE,
NodeMappingStats.SEGMENT_LEVEL_FIELDS_STATS,
BooleanFieldMapper.BOOLEAN_DIMENSION,
ObjectMapper.SUBOBJECTS_AUTO
ObjectMapper.SUBOBJECTS_AUTO,
SourceFieldMapper.SYNTHETIC_SOURCE_STORED_FIELDS_ADVANCE_FIX
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@

public class SourceFieldMapper extends MetadataFieldMapper {
public static final NodeFeature SYNTHETIC_SOURCE_FALLBACK = new NodeFeature("mapper.source.synthetic_source_fallback");
public static final NodeFeature SYNTHETIC_SOURCE_STORED_FIELDS_ADVANCE_FIX = new NodeFeature(
"mapper.source.synthetic_source_stored_fields_advance_fix"
);

public static final String NAME = "_source";
public static final String RECOVERY_SOURCE_NAME = "_recovery_source";
Expand Down

0 comments on commit 0fe220a

Please sign in to comment.